Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.96 KB | None | 0 0
  1. # Postfix master process configuration file. For details on the format
  2. # of the file, see the master(5) manual page (command: "man 5 master").
  3. #
  4. # Do not forget to execute "postfix reload" after editing this file.
  5. #
  6. # ==========================================================================
  7. # service type private unpriv chroot wakeup maxproc command + args
  8. # (yes) (yes) (yes) (never) (100)
  9. # ==========================================================================
  10. smtp inet n - - - - smtpd
  11. #submission inet n - n - - smtpd
  12. # -o smtpd_tls_security_level=encrypt
  13. # -o smtpd_sasl_auth_enable=yes
  14. # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  15. # -o milter_macro_daemon_name=ORIGINATING
  16. #smtps inet n - n - - smtpd
  17. # -o smtpd_tls_wrappermode=yes
  18. # -o smtpd_sasl_auth_enable=yes
  19. # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  20. # -o milter_macro_daemon_name=ORIGINATING
  21. #628 inet n - n - - qmqpd
  22. #pickup fifo n - n 60 1 pickup
  23. cleanup unix n - n - 0 cleanup
  24. qmgr fifo n - n 300 1 qmgr
  25. #qmgr fifo n - n 300 1 oqmgr
  26. tlsmgr unix - - n 1000? 1 tlsmgr
  27. rewrite unix - - n - - trivial-rewrite
  28. bounce unix - - n - 0 bounce
  29. defer unix - - n - 0 bounce
  30. trace unix - - n - 0 bounce
  31. verify unix - - n - 1 verify
  32. flush unix n - n 1000? 0 flush
  33. proxymap unix - - n - - proxymap
  34. proxywrite unix - - n - 1 proxymap
  35. smtp unix - - n - - smtp
  36. # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
  37. relay unix - - n - - smtp
  38. -o smtp_fallback_relay=
  39. # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  40. showq unix n - n - - showq
  41. error unix - - n - - error
  42. retry unix - - n - - error
  43. discard unix - - n - - discard
  44. local unix - n n - - local
  45. virtual unix - n n - - virtual
  46. lmtp unix - - n - - lmtp
  47. anvil unix - - n - 1 anvil
  48. scache unix - - n - 1 scache
  49. #
  50. # ====================================================================
  51. # Interfaces to non-Postfix software. Be sure to examine the manual
  52. # pages of the non-Postfix software to find out what options it wants.
  53. #
  54. # Many of the following services use the Postfix pipe(8) delivery
  55. # agent. See the pipe(8) man page for information about ${recipient}
  56. # and other message envelope options.
  57. # ====================================================================
  58. #
  59. # maildrop. See the Postfix MAILDROP_README file for details.
  60. # Also specify in main.cf: maildrop_destination_recipient_limit=1
  61. #
  62. #maildrop unix - n n - - pipe
  63. # flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
  64. #
  65. # ====================================================================
  66. #
  67. # The Cyrus deliver program has changed incompatibly, multiple times.
  68. #
  69. #old-cyrus unix - n n - - pipe
  70. # flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
  71. #
  72. # ====================================================================
  73. #
  74. # Cyrus 2.1.5 (Amos Gouaux)
  75. # Also specify in main.cf: cyrus_destination_recipient_limit=1
  76. #
  77. #cyrus unix - n n - - pipe
  78. # user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
  79. #
  80. # ====================================================================
  81. #
  82. # See the Postfix UUCP_README file for configuration details.
  83. #
  84. #uucp unix - n n - - pipe
  85. # flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  86. #
  87. # ====================================================================
  88. #
  89. # Other external delivery methods.
  90. #
  91. #ifmail unix - n n - - pipe
  92. # flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  93. #
  94. #bsmtp unix - n n - - pipe
  95. # flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
  96. #
  97. #scalemail-backend unix - n n - 2 pipe
  98. # flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
  99. # ${nexthop} ${user} ${extension}
  100. #
  101. #mailman unix - n n - - pipe
  102. # flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  103. # ${nexthop} ${user}
  104. # Bypass checks for internally generated mail.
  105. #pickup fifo n - n 60 1 pickup
  106. -o content_filter=
  107. submission inet n - n - - smtpd
  108. -o smtpd_enforce_tls=yes
  109. -o smtpd_sasl_auth_enable=yes
  110. -o smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
  111. # -o content_filter=smtp-amavis:[127.0.0.1]:10026
  112.  
  113. smtps inet n - - - - smtpd
  114. -o smtpd_tls_wrappermode=yes
  115. -o smtpd_sasl_auth_enable=yes
  116. -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  117. # -o content_filter=smtp-amavis:[127.0.0.1]:10026
  118. # Use dovecot deliver program as LDA.
  119. dovecot unix - n n - - pipe
  120. flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${user}@${domain}
  121. procmail unix - n n - - pipe
  122. flags=DRhu user=vmail:vmail argv=/usr/bin/procmail -r -t SENDER=${sender} RECIPIENT=${recipient} DOMAIN=${nexthop} -m USER=${user} EXTENSION=${extension} /etc/procmailrc
  123. smtp-amavis unix - - - - 2 smtp
  124. -o smtp_data_done_timeout=1200
  125. -o smtp_send_xforward_command=yes
  126. -o disable_dns_lookups=yes
  127. -o max_use=20
  128.  
  129. 127.0.0.1:10025 inet n - - - - smtpd
  130. -o content_filter=
  131. -o local_recipient_maps=
  132. -o relay_recipient_maps=
  133. -o smtpd_restriction_classes=
  134. -o smtpd_delay_reject=no
  135. -o smtpd_client_restrictions=permit_mynetworks,reject
  136. -o smtpd_helo_restrictions=
  137. -o smtpd_sender_restrictions=
  138. -o smtpd_recipient_restrictions=permit_mynetworks,reject
  139. -o mynetworks_style=host
  140. -o mynetworks=127.0.0.0/8
  141. -o strict_rfc821_envelopes=yes
  142. -o smtpd_error_sleep_time=0
  143. -o smtpd_soft_error_limit=1001
  144. -o smtpd_hard_error_limit=1000
  145. -o smtpd_client_connection_count_limit=0
  146. -o smtpd_client_connection_rate_limit=0
  147. -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings
  148. # Bypass checks for internally generated mail.
  149. pickup fifo n - n 60 1 pickup
  150. -o content_filter=
  151. submission inet n - n - - smtpd
  152. -o smtpd_enforce_tls=yes
  153. -o smtpd_sasl_auth_enable=yes
  154. -o smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
  155. # -o content_filter=smtp-amavis:[127.0.0.1]:10026
  156. -o content_filter=smtp-amavis:[127.0.0.1]:10026
  157.  
  158. smtps inet n - n - - smtpd
  159. -o smtpd_tls_wrappermode=yes
  160. -o smtpd_sasl_auth_enable=yes
  161. -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  162. # -o content_filter=smtp-amavis:[127.0.0.1]:10026
  163. -o content_filter=smtp-amavis:[127.0.0.1]:10026
  164. # Use dovecot deliver program as LDA.
  165. dovecot unix - n n - - pipe
  166. flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${user}@${domain}
  167. procmail unix - n n - - pipe
  168. flags=DRhu user=vmail:vmail argv=/usr/bin/procmail -r -t SENDER=${sender} RECIPIENT=${recipient} DOMAIN=${nexthop} -m USER=${user} EXTENSION=${extension} /etc/procmailrc
  169. smtp-amavis unix - - - - 2 smtp
  170. -o smtp_data_done_timeout=1200
  171. -o smtp_send_xforward_command=yes
  172. -o disable_dns_lookups=yes
  173. -o max_use=20
  174.  
  175. 127.0.0.1:10025 inet n - - - - smtpd
  176. -o content_filter=
  177. -o local_recipient_maps=
  178. -o relay_recipient_maps=
  179. -o smtpd_restriction_classes=
  180. -o smtpd_delay_reject=no
  181. -o smtpd_client_restrictions=permit_mynetworks,reject
  182. -o smtpd_helo_restrictions=
  183. -o smtpd_sender_restrictions=
  184. -o smtpd_recipient_restrictions=permit_mynetworks,reject
  185. -o mynetworks_style=host
  186. -o mynetworks=127.0.0.0/8
  187. -o strict_rfc821_envelopes=yes
  188. -o smtpd_error_sleep_time=0
  189. -o smtpd_soft_error_limit=1001
  190. -o smtpd_hard_error_limit=1000
  191. -o smtpd_client_connection_count_limit=0
  192. -o smtpd_client_connection_rate_limit=0
  193. -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement