SHARE
TWEET

jaggz

a guest Oct 7th, 2010 24 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 = $myhostname ESMTP $mail_name (Debian/GNU)
  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/ssl/certs/ssl-cert-snakeoil.pem
  22. smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
  23. smtpd_use_tls=yes
  24. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  25. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  26.  
  27. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  28. # information on enabling SSL in the smtp client.
  29.  
  30. myhostname = balance.voyager.com
  31. alias_maps = hash:/etc/aliases
  32. alias_database = hash:/etc/aliases
  33. myorigin = /etc/mailname
  34. mydestination = balance.voyager.com, localhost.voyager.com, localhost
  35. relayhost =
  36. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 69.26.170.0/27
  37. mailbox_command = procmail -a "$EXTENSION"
  38. mailbox_size_limit = 0
  39. recipient_delimiter = +
  40. inet_interfaces = all
  41. virtual_maps = hash:/var/postfix/virtual
  42. relay_domains = $mydestination, $virtual_maps
  43.  
  44. smtpd_delay_reject = yes
  45. smtpd_helo_required = yes
  46. disable_vrfy_command = yes
  47.  
  48. smtpd_recipient_restrictions = permit_mynetworks,
  49.                         permit_sasl_authenticated,
  50.                         permit_sasl_authenticated,
  51.                         reject_invalid_hostname,
  52.                         reject_non_fqdn_sender,
  53.                         reject_non_fqdn_recipient,
  54.                         reject_unknown_sender_domain,
  55.                         reject_unknown_recipient_domain,
  56.                         reject_rbl_client zen.spamhaus.org,
  57.                         reject_unauth_destination,
  58.                         permit
  59.  
  60. smtp_sasl_auth_enable = no
  61. smtpd_sasl_security_options = noanonymous
  62. smtpd_sasl_local_domain = /etc/mailname
  63. smtpd_sasl_auth_enable = yes
  64. smtpd_tls_auth_only = no
  65. smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, reject
  66.                                 # check_policy_service unix:private/tumgreyspf,
  67.  
  68. virtual_mailbox_domains = voyager.com, voy.com, mail.voyager.com
  69. virtual_mailbox_base = /var/vhosts
  70. virtual_mailbox_maps = hash:/var/postfix/vmailbox
  71. virtual_minimum_uid = 100
  72. virtual_uid_maps = static:5000
  73. virtual_gid_maps = static:5000
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top