master.cf 5.0 KB

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