Advertisement
SipriusPT

main.cf

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