master.cf 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. smtp inet n - n - 1 postscreen
  2. smtpd pass - - n - - smtpd
  3. -o smtpd_helo_restrictions=permit_mynetworks,reject_non_fqdn_helo_hostname
  4. smtps inet n - n - - smtpd
  5. -o smtpd_tls_wrappermode=yes
  6. -o smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
  7. -o tls_preempt_cipherlist=yes
  8. submission inet n - n - - smtpd
  9. -o smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
  10. -o smtpd_enforce_tls=yes
  11. -o smtpd_tls_security_level=encrypt
  12. -o tls_preempt_cipherlist=yes
  13. 588 inet n - n - - smtpd
  14. -o smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
  15. -o smtpd_tls_auth_only=no
  16. -o smtpd_sender_restrictions=check_sasl_access,regexp:/opt/postfix/conf/allow_mailcow_local.regexp,reject_authenticated_sender_login_mismatch,permit_mynetworks,permit_sasl_authenticated,reject_unlisted_sender,reject_unknown_sender_domain
  17. 590 inet n - n - - smtpd
  18. -o smtpd_client_restrictions=permit_mynetworks,reject
  19. -o smtpd_tls_auth_only=no
  20. -o smtpd_milters=
  21. -o non_smtpd_milters=
  22. smtp_enforced_tls unix - - n - - smtp
  23. -o smtp_tls_security_level=encrypt
  24. -o syslog_name=enforced-tls-smtp
  25. -o smtp_delivery_status_filter=pcre:/opt/postfix/conf/smtp_dsn_filter
  26. smtp_via_transport_maps unix - - n - - smtp
  27. -o smtp_sasl_password_maps=proxy:mysql:/opt/postfix/conf/sql/mysql_sasl_passwd_maps_transport_maps.cf
  28. tlsproxy unix - - n - 0 tlsproxy
  29. dnsblog unix - - n - 0 dnsblog
  30. pickup fifo n - n 60 1 pickup
  31. cleanup unix n - n - 0 cleanup
  32. qmgr fifo n - n 300 1 qmgr
  33. tlsmgr unix - - n 1000? 1 tlsmgr
  34. rewrite unix - - n - - trivial-rewrite
  35. bounce unix - - n - 0 bounce
  36. defer unix - - n - 0 bounce
  37. trace unix - - n - 0 bounce
  38. verify unix - - n - 1 verify
  39. flush unix n - n 1000? 0 flush
  40. proxymap unix - - n - - proxymap
  41. proxywrite unix - - n - 1 proxymap
  42. smtp unix - - n - - smtp
  43. relay unix - - n - - smtp
  44. showq unix n - n - - showq
  45. error unix - - n - - error
  46. retry unix - - n - - error
  47. discard unix - - n - - discard
  48. local unix - n n - - local
  49. virtual unix - n n - - virtual
  50. lmtp unix - - n - - lmtp
  51. anvil unix - - n - 1 anvil
  52. scache unix - - n - 1 scache
  53. maildrop unix - n n - - pipe flags=DRhu
  54. user=vmail argv=/usr/bin/maildrop -d ${recipient}
  55. # start zeyple
  56. zeyple unix - n n - - pipe
  57. user=zeyple argv=/usr/local/bin/zeyple.py ${recipient}
  58. 127.0.0.1:10026 inet n - n - 10 smtpd
  59. -o content_filter=
  60. -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks,no_milters
  61. -o smtpd_helo_restrictions=
  62. -o smtpd_client_restrictions=
  63. -o smtpd_sender_restrictions=
  64. -o smtpd_recipient_restrictions=permit_mynetworks,reject
  65. -o mynetworks=127.0.0.0/8
  66. -o smtpd_authorized_xforward_hosts=127.0.0.0/8
  67. # end zeyple
  68. # start whitelist_fwd
  69. 127.0.0.1:10027 inet n n n - 0 spawn user=nobody argv=/usr/local/bin/whitelist_forwardinghosts.sh
  70. # end whitelist_fwd
  71. # start watchdog-specific
  72. 589 inet n - n - - smtpd
  73. -o smtpd_client_restrictions=permit_mynetworks,reject
  74. -o syslog_name=watchdog
  75. -o syslog_facility=local7
  76. -o smtpd_milters=
  77. -o cleanup_service_name=watchdog_cleanup
  78. -o non_smtpd_milters=
  79. watchdog_cleanup unix n - n - 0 cleanup
  80. -o syslog_name=watchdog
  81. -o syslog_facility=local7
  82. -o queue_service_name=watchdog_qmgr
  83. watchdog_qmgr fifo n - n 300 1 qmgr
  84. -o syslog_facility=local7
  85. -o syslog_name=watchdog
  86. -o rewrite_service_name=watchdog_rewrite
  87. watchdog_rewrite unix - - n - - trivial-rewrite
  88. -o syslog_facility=local7
  89. -o syslog_name=watchdog
  90. -o local_transport=watchdog_discard
  91. watchdog_discard unix - - n - - discard
  92. -o syslog_facility=local7
  93. -o syslog_name=watchdog
  94. # end watchdog-specific