Advertisement
Twissel

master.cf

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