You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

master.cf 6.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. #
  2. # Postfix master process configuration file. For details on the format
  3. # of the file, see the master(5) manual page (command: "man 5 master").
  4. #
  5. # Do not forget to execute "postfix reload" after editing this file.
  6. #
  7. # ==========================================================================
  8. # service type private unpriv chroot wakeup maxproc command + args
  9. # (yes) (yes) (yes) (never) (100)
  10. # ==========================================================================
  11. smtp inet n - y - - smtpd
  12. #smtp inet n - y - 1 postscreen
  13. #smtpd pass - - y - - smtpd
  14. #dnsblog unix - - y - 0 dnsblog
  15. #tlsproxy unix - - y - 0 tlsproxy
  16. submission inet n - y - - smtpd
  17. -o syslog_name=postfix/submission
  18. -o smtpd_tls_security_level=encrypt
  19. -o smtpd_sasl_auth_enable=yes
  20. -o smtpd_reject_unlisted_recipient=no
  21. # -o smtpd_client_restrictions=$mua_client_restrictions
  22. # -o smtpd_helo_restrictions=$mua_helo_restrictions
  23. # -o smtpd_sender_restrictions=$mua_sender_restrictions
  24. -o smtpd_recipient_restrictions=
  25. -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  26. -o milter_macro_daemon_name=ORIGINATING
  27. smtps inet n - y - - smtpd
  28. -o syslog_name=postfix/smtps
  29. -o smtpd_tls_wrappermode=yes
  30. -o smtpd_sasl_auth_enable=yes
  31. -o smtpd_reject_unlisted_recipient=no
  32. # -o smtpd_client_restrictions=$mua_client_restrictions
  33. # -o smtpd_helo_restrictions=$mua_helo_restrictions
  34. # -o smtpd_sender_restrictions=$mua_sender_restrictions
  35. -o smtpd_recipient_restrictions=
  36. -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  37. -o milter_macro_daemon_name=ORIGINATING
  38. #628 inet n - y - - qmqpd
  39. pickup unix n - y 60 1 pickup
  40. cleanup unix n - y - 0 cleanup
  41. qmgr unix n - n 300 1 qmgr
  42. #qmgr unix n - n 300 1 oqmgr
  43. tlsmgr unix - - y 1000? 1 tlsmgr
  44. rewrite unix - - y - - trivial-rewrite
  45. bounce unix - - y - 0 bounce
  46. defer unix - - y - 0 bounce
  47. trace unix - - y - 0 bounce
  48. verify unix - - y - 1 verify
  49. flush unix n - y 1000? 0 flush
  50. proxymap unix - - n - - proxymap
  51. proxywrite unix - - n - 1 proxymap
  52. smtp unix - - y - - smtp
  53. relay unix - - y - - smtp
  54. # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  55. showq unix n - y - - showq
  56. error unix - - y - - error
  57. retry unix - - y - - error
  58. discard unix - - y - - discard
  59. local unix - n n - - local
  60. virtual unix - n n - - virtual
  61. lmtp unix - - y - - lmtp
  62. anvil unix - - y - 1 anvil
  63. scache unix - - y - 1 scache
  64. #
  65. # ====================================================================
  66. # Interfaces to non-Postfix software. Be sure to examine the manual
  67. # pages of the non-Postfix software to find out what options it wants.
  68. #
  69. # Many of the following services use the Postfix pipe(8) delivery
  70. # agent. See the pipe(8) man page for information about ${recipient}
  71. # and other message envelope options.
  72. # ====================================================================
  73. #
  74. # maildrop. See the Postfix MAILDROP_README file for details.
  75. # Also specify in main.cf: maildrop_destination_recipient_limit=1
  76. #
  77. maildrop unix - n n - - pipe
  78. flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
  79. #
  80. # ====================================================================
  81. #
  82. # Recent Cyrus versions can use the existing "lmtp" master.cf entry.
  83. #
  84. # Specify in cyrus.conf:
  85. # lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
  86. #
  87. # Specify in main.cf one or more of the following:
  88. # mailbox_transport = lmtp:inet:localhost
  89. # virtual_transport = lmtp:inet:localhost
  90. #
  91. # ====================================================================
  92. #
  93. # Cyrus 2.1.5 (Amos Gouaux)
  94. # Also specify in main.cf: cyrus_destination_recipient_limit=1
  95. #
  96. #cyrus unix - n n - - pipe
  97. # user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
  98. #
  99. # ====================================================================
  100. # Old example of delivery via Cyrus.
  101. #
  102. #old-cyrus unix - n n - - pipe
  103. # flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
  104. #
  105. # ====================================================================
  106. #
  107. # See the Postfix UUCP_README file for configuration details.
  108. #
  109. uucp unix - n n - - pipe
  110. flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  111. #
  112. # Other external delivery methods.
  113. #
  114. ifmail unix - n n - - pipe
  115. flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  116. bsmtp unix - n n - - pipe
  117. flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
  118. scalemail-backend unix - n n - 2 pipe
  119. flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
  120. mailman unix - n n - - pipe
  121. flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  122. ${nexthop} ${user}
  123. dovecot unix - n n - - pipe
  124. flags=DRhu user=email:email argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient}