master.cf 4.9 KB

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