Advertisement
nhneutrino

Untitled

Dec 8th, 2016
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.77 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 - 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_client_restrictions=permit_sasl_authenticated,reject
  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_client_restrictions=permit_sasl_authenticated,reject
  34. # -o smtpd_reject_unlisted_recipient=no
  35. # -o smtpd_client_restrictions=$mua_client_restrictions
  36. # -o smtpd_helo_restrictions=$mua_helo_restrictions
  37. # -o smtpd_sender_restrictions=$mua_sender_restrictions
  38. # -o smtpd_recipient_restrictions=
  39. # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  40. # -o milter_macro_daemon_name=ORIGINATING
  41. #628 inet n - y - - qmqpd
  42. pickup unix n - y 60 1 pickup
  43. cleanup unix n - y - 0 cleanup
  44. qmgr unix n - n 300 1 qmgr
  45. #qmgr unix n - n 300 1 oqmgr
  46. tlsmgr unix - - y 1000? 1 tlsmgr
  47. rewrite unix - - y - - trivial-rewrite
  48. bounce unix - - y - 0 bounce
  49. defer unix - - y - 0 bounce
  50. trace unix - - y - 0 bounce
  51. verify unix - - y - 1 verify
  52. flush unix n - y 1000? 0 flush
  53. proxymap unix - - n - - proxymap
  54. proxywrite unix - - n - 1 proxymap
  55. smtp unix - - y - - smtp
  56. relay unix - - y - - smtp
  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. #
  68. # ====================================================================
  69. # Interfaces to non-Postfix software. Be sure to examine the manual
  70. # pages of the non-Postfix software to find out what options it wants.
  71. #
  72. # Many of the following services use the Postfix pipe(8) delivery
  73. # agent. See the pipe(8) man page for information about ${recipient}
  74. # and other message envelope options.
  75. # ====================================================================
  76. #
  77. # maildrop. See the Postfix MAILDROP_README file for details.
  78. # Also specify in main.cf: maildrop_destination_recipient_limit=1
  79. #
  80. maildrop unix - n n - - pipe
  81. flags=DRhu user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${nexthop} ${sender}
  82. #
  83. # ====================================================================
  84. #
  85. # Recent Cyrus versions can use the existing "lmtp" master.cf entry.
  86. #
  87. # Specify in cyrus.conf:
  88. # lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
  89. #
  90. # Specify in main.cf one or more of the following:
  91. # mailbox_transport = lmtp:inet:localhost
  92. # virtual_transport = lmtp:inet:localhost
  93. #
  94. # ====================================================================
  95. #
  96. # Cyrus 2.1.5 (Amos Gouaux)
  97. # Also specify in main.cf: cyrus_destination_recipient_limit=1
  98. #
  99. #cyrus unix - n n - - pipe
  100. # user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
  101. #
  102. # ====================================================================
  103. # Old example of delivery via Cyrus.
  104. #
  105. #old-cyrus unix - n n - - pipe
  106. # flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
  107. #
  108. # ====================================================================
  109. #
  110. # See the Postfix UUCP_README file for configuration details.
  111. #
  112. uucp unix - n n - - pipe
  113. flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  114. #
  115. # Other external delivery methods.
  116. #
  117. ifmail unix - n n - - pipe
  118. flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  119. bsmtp unix - n n - - pipe
  120. flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
  121. scalemail-backend unix - n n - 2 pipe
  122. flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
  123. mailman unix - n n - - pipe
  124. flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  125. ${nexthop} ${user}
  126.  
  127. dovecot unix - n n - - pipe
  128. flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop}
  129.  
  130. amavis unix - - - - 2 smtp
  131. -o smtp_data_done_timeout=1200
  132. -o smtp_send_xforward_command=yes
  133.  
  134.  
  135. 127.0.0.1:10025 inet n - n - - smtpd
  136. -o content_filter=
  137. -o local_recipient_maps=
  138. -o relay_recipient_maps=
  139. -o smtpd_restriction_classes=
  140. -o smtpd_client_restrictions=
  141. -o smtpd_helo_restrictions=
  142. -o smtpd_sender_restrictions=
  143. -o smtpd_recipient_restrictions=permit_mynetworks,reject
  144. -o mynetworks=127.0.0.0/8
  145. -o strict_rfc821_envelopes=yes
  146. -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
  147. -o smtp_send_xforward_command=yes
  148. -o disable_dns_lookups=yes
  149.  
  150.  
  151. 127.0.0.1:10027 inet n - n - - smtpd
  152. -o content_filter=
  153. -o local_recipient_maps=
  154. -o relay_recipient_maps=
  155. -o smtpd_restriction_classes=
  156. -o smtpd_client_restrictions=
  157. -o smtpd_helo_restrictions=
  158. -o smtpd_sender_restrictions=
  159. -o smtpd_recipient_restrictions=permit_mynetworks,reject
  160. -o mynetworks=127.0.0.0/8
  161. -o strict_rfc821_envelopes=yes
  162. -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
  163. -o smtp_send_xforward_command=yes
  164. -o milter_default_action=accept
  165. -o milter_macro_daemon_name=ORIGINATING
  166. -o disable_dns_lookups=yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement