Advertisement
Guest User

Untitled

a guest
Jul 17th, 2020
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.33 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 - 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_tls_auth_only=yes
  21. # -o smtpd_reject_unlisted_recipient=no
  22. # -o smtpd_client_restrictions=$mua_client_restrictions
  23. # -o smtpd_helo_restrictions=$mua_helo_restrictions
  24. # -o smtpd_sender_restrictions=$mua_sender_restrictions
  25. # -o smtpd_recipient_restrictions=
  26. # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  27. # -o milter_macro_daemon_name=ORIGINATING
  28. #smtps inet n - y - - smtpd
  29. # -o syslog_name=postfix/smtps
  30. # -o smtpd_tls_wrappermode=yes
  31. # -o smtpd_sasl_auth_enable=yes
  32. # -o smtpd_reject_unlisted_recipient=no
  33. # -o smtpd_client_restrictions=$mua_client_restrictions
  34. # -o smtpd_helo_restrictions=$mua_helo_restrictions
  35. # -o smtpd_sender_restrictions=$mua_sender_restrictions
  36. # -o smtpd_recipient_restrictions=
  37. # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  38. # -o milter_macro_daemon_name=ORIGINATING
  39. #628 inet n - y - - qmqpd
  40. #smtp inet n - - - - smtpd
  41. pickup unix n - n 60 1 pickup
  42. -o content_filter=smtp-amavis:[127.0.0.1]:10026
  43. cleanup unix n - n - 0 cleanup
  44. #qmgr unix n - n 300 1 oqmgr
  45. qmgr unix n - n 300 1 qmgr
  46. tlsmgr unix - - n 1000? 1 tlsmgr
  47. rewrite unix - - n - - trivial-rewrite
  48. bounce unix - - n - 0 bounce
  49. defer unix - - n - 0 bounce
  50. trace unix - - n - 0 bounce
  51. verify unix - - n - 1 verify
  52. flush unix n - n 1000? 0 flush
  53. proxymap unix - - n - - proxymap
  54. proxywrite unix - - n - 1 proxymap
  55. smtp unix - - n - - smtp
  56. # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  57. relay unix - - n - - smtp
  58. -o syslog_name=postfix/$service_name
  59. showq unix n - n - - showq
  60. error unix - - n - - error
  61. retry unix - - n - - error
  62. discard unix - - n - - discard
  63. local unix - n n - - local
  64. virtual unix - n n - - virtual
  65. lmtp unix - - n - - lmtp
  66. anvil unix - - n - 1 anvil
  67. scache unix - - n - 1 scache
  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. postlog unix-dgram n - n - 1 postlogd
  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. maildrop unix - n n - - pipe flags=DRhu
  113. user=vmail argv=/usr/bin/maildrop -d ${recipient}
  114. #
  115. # Other external delivery methods.
  116. #
  117. uucp unix - n n - - pipe flags=Fqhu
  118. user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  119. ifmail unix - n n - - pipe flags=F user=ftn
  120. argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  121. bsmtp unix - n n - - pipe flags=Fq.
  122. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
  123. scalemail-backend unix - n n - 2 pipe flags=R
  124. user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop}
  125. ${user} ${extension}
  126.  
  127. mailman unix - n n - - pipe flags=FR
  128. user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop}
  129. ${user}
  130. # Submission, port 587, force TLS connection.
  131. submission inet n - n - - smtpd
  132. -o syslog_name=postfix/submission
  133. -o smtpd_tls_security_level=encrypt
  134. -o smtpd_sasl_auth_enable=yes
  135. -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  136. -o content_filter=smtp-amavis:[127.0.0.1]:10026
  137.  
  138. # Use dovecot's `deliver` program as LDA.
  139. dovecot unix - n n - - pipe
  140. flags=DRh user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${domain} -m ${extension}
  141.  
  142. # mlmmj - mailing list manager
  143. # ${nexthop} is '%d/%u' in transport ('mlmmj:%d/%u')
  144. #mlmmj unix - n n - - pipe
  145. # flags=ORhu user=mlmmj:mlmmj argv=/usr/bin/mlmmj-amime-receive -L /maildata/mlmmj/${nexthop}
  146.  
  147. # Amavisd integration.
  148. #smtp-amavis unix - - n - 2 smtp
  149. # -o syslog_name=postfix/amavis
  150. # -o smtp_data_done_timeout=1200
  151. # -o smtp_send_xforward_command=yes
  152. # -o disable_dns_lookups=yes
  153. # -o max_use=20
  154.  
  155. # smtp port used by Amavisd to re-inject scanned email back to Postfix
  156. #127.0.0.1:10025 inet n - n - - smtpd
  157. # -o syslog_name=postfix/10025
  158. # -o content_filter=
  159. # -o mynetworks_style=host
  160. # -o mynetworks=127.0.0.0/8
  161. # -o local_recipient_maps=
  162. # -o relay_recipient_maps=
  163. # -o strict_rfc821_envelopes=yes
  164. # -o smtp_tls_security_level=none
  165. # -o smtpd_tls_security_level=none
  166. # -o smtpd_restriction_classes=
  167. # -o smtpd_delay_reject=no
  168. # -o smtpd_client_restrictions=permit_mynetworks,reject
  169. # -o smtpd_helo_restrictions=
  170. # -o smtpd_sender_restrictions=
  171. # -o smtpd_recipient_restrictions=permit_mynetworks,reject
  172. # -o smtpd_end_of_data_restrictions=
  173. # -o smtpd_error_sleep_time=0
  174. # -o smtpd_soft_error_limit=1001
  175. # -o smtpd_hard_error_limit=1000
  176. # -o smtpd_client_connection_count_limit=0
  177. # -o smtpd_client_connection_rate_limit=0
  178. # -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings
  179.  
  180. # smtp port used by mlmmj to re-inject scanned email back to Postfix, with
  181. # address mapping support
  182. #127.0.0.1:10028 inet n - n - - smtpd
  183. # -o syslog_name=postfix/10028
  184. # -o content_filter=
  185. # -o mynetworks_style=host
  186. # -o mynetworks=127.0.0.0/8
  187. # -o local_recipient_maps=
  188. # -o relay_recipient_maps=
  189. # -o strict_rfc821_envelopes=yes
  190. # -o smtp_tls_security_level=none
  191. # -o smtpd_tls_security_level=none
  192. # -o smtpd_restriction_classes=
  193. # -o smtpd_delay_reject=no
  194. # -o smtpd_client_restrictions=permit_mynetworks,reject
  195. # -o smtpd_helo_restrictions=
  196. # -o smtpd_sender_restrictions=
  197. # -o smtpd_recipient_restrictions=permit_mynetworks,reject
  198. # -o smtpd_end_of_data_restrictions=
  199. # -o smtpd_error_sleep_time=0
  200. # -o smtpd_soft_error_limit=1001
  201. # -o smtpd_hard_error_limit=1000
  202. # -o smtpd_client_connection_count_limit=0
  203. # -o smtpd_client_connection_rate_limit=0
  204. # -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement