tylershuster

Postfix Main.cf

Jan 26th, 2015
266
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
  2. biff = no
  3.  
  4.  
  5. append_dot_mydomain = no
  6.  
  7.  
  8. readme_directory = no
  9.  
  10. # TLS parameters
  11. smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
  12. smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
  13. smtpd_use_tls = yes
  14. smtpd_tls_auth_only = yes
  15. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  16. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  17.  
  18.  
  19. smtpd_sasl_type = dovecot
  20. smtpd_sasl_path = private/auth
  21. smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks
  22.  
  23. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  24. # information on enabling SSL in the smtp client.
  25.  
  26. smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
  27. myhostname = shuster.house
  28. alias_maps = hash:/etc/aliases
  29. alias_database = hash:/etc/aliases
  30. myorigin = /etc/mailname
  31. #mydestination = shuster.house, localhost.house, , localhost
  32. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  33. mailbox_size_limit = 0
  34. recipient_delimiter = +
  35.  
  36. virtual_transport = lmtp:unix:private/dovecot-lmtp
  37.  
  38. virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
  39. virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
  40. virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf
  41. inet_protocols = all
  42.  
  43. debug_peer_list = 127.0.0.1
  44. mydestination = localhost
RAW Paste Data