master.cf.Debian.buster 6.1 KB

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