Advertisement
SipriusPT

main.cf

Nov 7th, 2016
345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1. mydomain_fallback = localhost
  2. message_size_limit = 0
  3. biff = no
  4. mynetworks_style = subnet # was only seen by localhost
  5. mynetworks = 127.0.0.0/8, [::1]/128
  6. #mynetworks = 127.0.0.0/8, 192.168.1.0/24
  7. smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated permit
  8. recipient_delimiter = +
  9. smtpd_tls_ciphers = medium
  10. inet_protocols = all
  11. inet_interfaces = all
  12. config_directory = /Library/Server/Mail/Config/postfix
  13. virtual_alias_domains = $virtual_alias_maps
  14. virtual_alias_maps = $virtual_maps
  15. recipient_canonical_maps = hash:/Library/Server/Mail/Config/postfix/system_user_maps
  16. smtpd_enforce_tls = no
  17. smtpd_use_pw_server = yes
  18. relayhost = [mail.X]:25
  19. smtp_fallback_relay = [cpanel.Y]:25
  20. smtpd_tls_cert_file = /etc/certificates/Server Fallback SSL Certificate.6D8408A85A861E9E7AE1A6CDE19A336CE8A4DBB0.cert.pem
  21. mydomain = X.pt
  22. smtpd_pw_server_security_options = cram-md5,digest-md5,gssapi
  23. smtpd_sasl_auth_enable = yes
  24. smtpd_helo_required = yes
  25. smtpd_tls_CAfile = /etc/certificates/Server Fallback SSL Certificate.6D8408A85A861E9E7AE1A6CDE19A336CE8A4DBB0.chain.pem
  26. content_filter = smtp-amavis:[127.0.0.1]:10024
  27. smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination
  28. header_checks = pcre:/Library/Server/Mail/Config/postfix/custom_header_checks
  29. myhostname = remote.X.pt
  30. smtpd_helo_restrictions = reject_non_fqdn_helo_hostname reject_invalid_helo_hostname
  31. smtpd_use_tls = yes
  32. smtpd_tls_key_file = /etc/certificates/Server Fallback SSL Certificate.6D8408A85A861E9E7AE1A6CDE19A336CE8A4DBB0.key.pem
  33. enable_server_options = yes
  34. mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, X.pt
  35. mailbox_transport = dovecot
  36. smtp_sasl_password_maps = hash:/Library/Server/Mail/Config/postfix/sasl/passwd
  37. smtp_sasl_auth_enable = yes
  38.  
  39. ######Edit######
  40.  
  41. smtp_sasl_security_options =
  42. smtp_sender_dependent_authentication = yes
  43. sender_dependent_relayhost_maps = hash:/Library/Server/Mail/Config/postfix/relayhost/maps
  44. relay_domains =
  45. virtual_alias_maps = hash:/Library/Server/Mail/Config/postfix/virtual_domains
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement