Advertisement
Guest User

Untitled

a guest
May 30th, 2012
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. # See /usr/share/postfix/main.cf.dist for a commented, more complete version
  2.  
  3.  
  4. # Debian specific: Specifying a file name will cause the first
  5. # line of that file to be used as the name. The Debian default
  6. # is /etc/mailname.
  7. #myorigin = /etc/mailname
  8.  
  9. smtpd_banner = keep out
  10. biff = no
  11.  
  12. # appending .domain is the MUA's job.
  13. append_dot_mydomain = no
  14.  
  15. # Uncomment the next line to generate "delayed mail" warnings
  16. #delay_warning_time = 4h
  17.  
  18. readme_directory = no
  19.  
  20. # TLS parameters
  21. #smtpd_tls_cert_file=/etc/postfix/mail.cert
  22. #smtpd_tls_key_file=/etc/postfix/mail.key
  23. smtpd_tls_cert_file=/etc/ssl/certs/postfix.cert
  24. smtpd_tls_key_file=/etc/ssl/private/postfix.key
  25. smtpd_use_tls=yes
  26. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  27. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  28. smtpd_enforce_tls = no
  29. smtpd_tls_auth_only = yes
  30.  
  31. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  32. # information on enabling SSL in the smtp client.
  33.  
  34. myhostname = mail.domain1.de
  35. mydomain = domain1.de
  36.  
  37. virtual_alias_domains = domain1.de domain2.de
  38. virtual_alias_maps = hash:/etc/postfix/virtual
  39.  
  40.  
  41.  
  42. relayhost =
  43. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  44. mailbox_size_limit = 1073741824
  45. message_size_limit = 209715200
  46. recipient_delimiter = +
  47. inet_interfaces = all
  48. inet_protocols = ipv4
  49. smtpd_helo_required = yes
  50. smtpd_helo_restrictions = reject_invalid_hostname
  51. #smtpd_recipient_restrictions = permit_mynetworks, reject_unknown_recipient_domain, permit_sasl_authenticated, reject_unauth_destination, check_policy_service inet:127.0.0.1:12525
  52.  
  53.  
  54. #smtpd_recipient_restrictions = permit_mynetworks, reject_unknown_recipient_domain, permit_sasl_authenticated, reject_unauth_destination
  55.  
  56.  
  57. #smtpd_sender_restrictions = reject_unknown_address
  58. smtpd_client_restrictions = reject_invalid_hostname
  59. strict_rfc821_envelopes = yes
  60. home_mailbox = mails/
  61.  
  62.  
  63.  
  64. #SASL
  65. smtpd_sasl_auth_enable = yes
  66. smtpd_sasl_type = dovecot
  67. smtpd_sasl_path = private/auth
  68. smtpd_sasl_security_options = noanonymous
  69. smtpd_sasl_local_domain =
  70. smtp_sasl_auth_enable = no
  71. broken_sasl_auth_clients = yes
  72.  
  73. virtual_mailbox_limit = 1073741824
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement