Guest User

postfix-master.cf

a guest
Nov 19th, 2022
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.86 KB | None | 0 0
  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 - n - - smtpd
  18. -o smtpd_tls_security_level=encrypt
  19. -o smtpd_sasl_auth_enable=yes
  20. -o smtpd_sasl_type=dovecot
  21. -o smtpd_sasl_path=private/auth
  22. -o smtpd_sasl_security_options=noanonymous
  23. -o smtpd_sasl_local_domain=$myhostname
  24. #-o smtpd_client_restrictions=$mua_client_restriction
  25. # -o smtpd_use_tls=no
  26. -o smtpd_client_restrictions=spermit_sasl_authenticated,reject
  27. # -o smtpd_sender_login_maps=hash:/etc/postfix/virtual
  28. -o smtpd_sender_restrictions=reject_sender_login_mismatch
  29. -o smtpd_recipient_restrictions=reject_non_fqdn_recipient,reject_unknown_recipient_domain,permit_sasl_authenticated,reject
  30. #submission inet n - y - - smtpd
  31. # -o syslog_name=postfix/submission
  32. # -o smtpd_tls_security_level=encrypt
  33. # -o smtpd_sasl_auth_enable=yes
  34. # -o smtpd_tls_auth_only=yes
  35. # -o smtpd_reject_unlisted_recipient=no
  36. # -o smtpd_client_restrictions=$mua_client_restrictions
  37. # -o smtpd_helo_restrictions=$mua_helo_restrictions
  38. # -o smtpd_sender_restrictions=$mua_sender_restrictions
  39. # -o smtpd_recipient_restrictions=
  40. # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  41. # -o milter_macro_daemon_name=ORIGINATING
  42. #smtps inet n - y - - smtpd
  43. # -o syslog_name=postfix/smtps
  44. # -o smtpd_tls_wrappermode=yes
  45. # -o smtpd_sasl_auth_enable=yes
  46. # -o smtpd_reject_unlisted_recipient=no
  47. # -o smtpd_client_restrictions=$mua_client_restrictions
  48. # -o smtpd_helo_restrictions=$mua_helo_restrictions
  49. # -o smtpd_sender_restrictions=$mua_sender_restrictions
  50. # -o smtpd_recipient_restrictions=
  51. # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  52. # -o milter_macro_daemon_name=ORIGINATING
  53. #628 inet n - y - - qmqpd
  54. pickup unix n - y 60 1 pickup
  55. cleanup unix n - y - 0 cleanup
  56. qmgr unix n - n 300 1 qmgr
  57. #qmgr unix n - n 300 1 oqmgr
  58. tlsmgr unix - - y 1000? 1 tlsmgr
  59. rewrite unix - - y - - trivial-rewrite
  60. bounce unix - - y - 0 bounce
  61. defer unix - - y - 0 bounce
  62. trace unix - - y - 0 bounce
  63. verify unix - - y - 1 verify
  64. flush unix n - y 1000? 0 flush
  65. proxymap unix - - n - - proxymap
  66. proxywrite unix - - n - 1 proxymap
  67. smtp unix - - y - - smtp
  68. relay unix - - y - - smtp
  69. -o syslog_name=postfix/$service_name
  70. # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  71. showq unix n - y - - showq
  72. error unix - - y - - error
  73. retry unix - - y - - error
  74. discard unix - - y - - discard
  75. local unix - n n - - local
  76. virtual unix - n n - - virtual
  77. lmtp unix - - y - - lmtp
  78. anvil unix - - y - 1 anvil
  79. scache unix - - y - 1 scache
  80. postlog unix-dgram n - n - 1 postlogd
  81. #
  82. # ====================================================================
  83. # Interfaces to non-Postfix software. Be sure to examine the manual
  84. # pages of the non-Postfix software to find out what options it wants.
  85. #
  86. # Many of the following services use the Postfix pipe(8) delivery
  87. # agent. See the pipe(8) man page for information about ${recipient}
  88. # and other message envelope options.
  89. # ====================================================================
  90. #
  91. # maildrop. See the Postfix MAILDROP_README file for details.
  92. # Also specify in main.cf: maildrop_destination_recipient_limit=1
  93. #
  94. maildrop unix - n n - - pipe
  95. flags=DRXhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
  96. #
  97. # ====================================================================
  98. #
  99. # Recent Cyrus versions can use the existing "lmtp" master.cf entry.
  100. #
  101. # Specify in cyrus.conf:
  102. # lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
  103. #
  104. # Specify in main.cf one or more of the following:
  105. # mailbox_transport = lmtp:inet:localhost
  106. # virtual_transport = lmtp:inet:localhost
  107. #
  108. # ====================================================================
  109. #
  110. # Cyrus 2.1.5 (Amos Gouaux)
  111. # Also specify in main.cf: cyrus_destination_recipient_limit=1
  112. #
  113. #cyrus unix - n n - - pipe
  114. # flags=DRX user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
  115. #
  116. # ====================================================================
  117. # Old example of delivery via Cyrus.
  118. #
  119. #old-cyrus unix - n n - - pipe
  120. # flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
  121. #
  122. # ====================================================================
  123. #
  124. # See the Postfix UUCP_README file for configuration details.
  125. #
  126. uucp unix - n n - - pipe
  127. flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  128. #
  129. # Other external delivery methods.
  130. #
  131. ifmail unix - n n - - pipe
  132. flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  133. bsmtp unix - n n - - pipe
  134. flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
  135. scalemail-backend unix - n n - 2 pipe
  136. flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
  137. mailman unix - n n - - pipe
  138. flags=FRX user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}
Advertisement
Add Comment
Please, Sign In to add comment