Advertisement
Guest User

Untitled

a guest
Apr 10th, 2014
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. myhostname = marcusforsberg.net
  2. alias_maps = hash:/etc/aliases
  3. alias_database = hash:/etc/aliases
  4. myorigin = /etc/mailname
  5. mydestination = localhost
  6. relayhost =
  7. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  8. mailbox_size_limit = 0
  9. recipient_delimiter = +
  10. inet_interfaces = all
  11.  
  12. # Change postfix TLS parameter to use dovecot
  13. #smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  14. #smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  15. smtpd_tls_cert_file=/etc/ssl/certs/dovecot.pem
  16. smtpd_tls_key_file=/etc/ssl/private/dovecot.pem
  17. smtpd_use_tls=yes
  18. #smtpd_tls_auth_only = yes
  19.  
  20. #Handle SMTP authentication using Dovecot
  21. smtpd_sasl_type = dovecot
  22. smtpd_sasl_path = private/auth
  23. smtpd_sasl_auth_enable = yes
  24.  
  25. smtpd_recipient_restrictions =
  26. permit_sasl_authenticated,
  27. permit_mynetworks,
  28. reject_unauth_destination
  29.  
  30. # using Dovecot's LMTP for mail delivery and giving it path to store mail
  31. virtual_transport = lmtp:unix:private/dovecot-lmtp
  32.  
  33. # virtual mailbox setups
  34. virtual_uid_maps = static:5000
  35. virtual_gid_maps = static:5000
  36. virtual_alias_maps = mysql:/etc/postfix/mysql/virtual_alias_maps.cf
  37. virtual_mailbox_domains = mysql:/etc/postfix/mysql/virtual_domains_maps.cf
  38. virtual_mailbox_maps = mysql:/etc/postfix/mysql/virtual_mailbox_maps.cf
  39.  
  40. inet_protocols = all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement