Advertisement
SipriusPT

master.cf

Jan 20th, 2017
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.80 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").
  4. #
  5. # Do not forget to execute "postfix reload" after editing this file.
  6. #
  7. # ==========================================================================
  8. # service type private unpriv chroot wakeup maxproc command + args
  9. # (yes) (yes) (yes) (never) (100)
  10. # ==========================================================================
  11. # ==== Begin auto-generated section ========================================
  12. # This section of the master.cf file is auto-generated by the Server Admin
  13. # Mail backend plugin whenever mails settings are modified.
  14. smtp inet n - n - 1 postscreen
  15. smtpd pass - - n - - smtpd
  16. -o receive_override_options=no_address_mappings
  17. dnsblog unix - - n - 0 dnsblog
  18. tlsproxy unix - - n - 0 tlsproxy
  19. submission inet n - n - - smtpd
  20. -o smtpd_tls_security_level=encrypt
  21. smtp unix - - n - - smtp
  22. smtp inet n - n - 1 postscreen
  23. # === End auto-generated section ===========================================
  24. proxywrite unix - - n - 1 proxymap
  25. # 0.0.0.0:smtp inet n - n - - smtpd
  26.  
  27. # Modern SMTP clients communicate securely over port 25 using the STARTTLS command.
  28. # Some older clients, such as Outlook 2000 and its predecessors, do not properly
  29. # support this command and instead assume a preconfigured secure connection
  30. # on port 465. This was sometimes called "smtps", but such usage was never
  31. # approved by the IANA and therefore conflicts with another, legitimate assignment.
  32. # For more details about managing secure SMTP connections with postfix, please see:
  33. # http://www.postfix.org/TLS_README.html
  34. # To read more about configuring secure connections with Outlook 2000, please read:
  35. # http://support.microsoft.com/default.aspx?scid=kb;en-us;Q307772
  36. # Apple does not support the use of port 465 for this purpose.
  37. # After determining that connecting clients do require this behavior, you may choose
  38. # to manually enable support for these older clients by uncommenting the following
  39. # four lines.
  40. #465 inet n - n - - smtpd
  41. # -o smtpd_tls_wrappermode=yes
  42. # -o smtpd_sasl_auth_enable=yes
  43. # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  44. # -o milter_macro_daemon_name=ORIGINATING
  45. #628 inet n - n - - qmqpd
  46. pickup fifo n - n 60 1 pickup
  47. -o content_filter=smtp-amavis:[127.0.0.1]:10024
  48. cleanup unix n - n - 0 cleanup
  49. qmgr fifo n - n 300 1 qmgr
  50. #qmgr fifo n - n 300 1 oqmgr
  51. tlsmgr unix - - n 1000? 1 tlsmgr
  52. rewrite unix - - n - - trivial-rewrite
  53. bounce unix - - n - 0 bounce
  54. defer unix - - n - 0 bounce
  55. trace unix - - n - 0 bounce
  56. verify unix - - n - 1 verify
  57. sacl-cache unix - - n - 1 sacl-cache
  58. flush unix n - n 1000? 0 flush
  59. proxymap unix - - n - - proxymap
  60. # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
  61. relay unix - - n - - smtp
  62. -o smtp_fallback_relay=
  63. # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  64. showq unix n - n - - showq
  65. error unix - - n - - error
  66. retry unix - - n - - error
  67. discard unix - - n - - discard
  68. local unix - n n - - local
  69. virtual unix - n n - - virtual
  70. lmtp unix - - n - - lmtp
  71. anvil unix - - n - 1 anvil
  72. scache unix - - n - 1 scache
  73. #
  74. # ====================================================================
  75. # Interfaces to non-Postfix software. Be sure to examine the manual
  76. # pages of the non-Postfix software to find out what options it wants.
  77. #
  78. # Many of the following services use the Postfix pipe(8) delivery
  79. # agent. See the pipe(8) man page for information about ${recipient}
  80. # and other message envelope options.
  81. # ====================================================================
  82. #
  83. # maildrop. See the Postfix MAILDROP_README file for details.
  84. # Also specify in main.cf: maildrop_destination_recipient_limit=1
  85. #
  86. #maildrop unix - n n - - pipe
  87. # flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
  88. #
  89. # ====================================================================
  90. #
  91. # Recent Cyrus versions can use the existing "lmtp" master.cf entry.
  92. #
  93. # Specify in cyrus.conf:
  94. # lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
  95. #
  96. # Specify in main.cf one or more of the following:
  97. # mailbox_transport = lmtp:inet:localhost
  98. # virtual_transport = lmtp:inet:localhost
  99. #
  100. # ====================================================================
  101. #
  102. # Cyrus 2.1.5 (Amos Gouaux)
  103. # Also specify in main.cf: cyrus_destination_recipient_limit=1
  104. #
  105. #cyrus unix - n n - - pipe
  106. # user=_cyrus argv=/usr/bin/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
  107. #
  108. # ====================================================================
  109. #
  110. # Old example of delivery via Cyrus.
  111. #
  112. #old-cyrus unix - n n - - pipe
  113. # flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
  114. #
  115. # ====================================================================
  116. #
  117. # Dovecot
  118. #
  119. dovecot unix - n n - 25 pipe
  120. flags=DRhu user=_dovecot:mail argv=/Applications/Server.app/Contents/ServerRoot/usr/libexec/dovecot/dovecot-lda -d ${user}
  121. # Use these settings to enable +addressing (user+mailbox@example.com)
  122. # flags=DRhu user=_dovecot:mail argv=/Applications/Server.app/Contents/ServerRoot/usr/libexec/dovecot/dovecot-lda -d ${user} -a ${recipient} -m ${extension}
  123. #
  124. # ====================================================================
  125. #
  126. # Greylist policy server
  127. #
  128. policy unix - n n - - spawn
  129. user=nobody:mail argv=/usr/bin/perl /usr/libexec/postfix/greylist.pl
  130. #
  131. # ====================================================================
  132. #
  133. # See the Postfix UUCP_README file for configuration details.
  134. #
  135. #uucp unix - n n - - pipe
  136. # flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  137. #
  138. # ====================================================================
  139. #
  140. # Other external delivery methods.
  141. #
  142. #ifmail unix - n n - - pipe
  143. # flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  144. #
  145. #bsmtp unix - n n - - pipe
  146. # flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
  147. #
  148. #scalemail-backend unix - n n - 2 pipe
  149. # flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
  150. # ${nexthop} ${user} ${extension}
  151. #
  152. #mailman unix - n n - - pipe
  153. # flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  154. # ${nexthop} ${user}
  155.  
  156. smtp-amavis unix - - y - 2 smtp
  157. -o smtp_data_done_timeout=1200
  158. -o smtp_send_xforward_command=yes
  159. -o disable_dns_lookups=yes
  160. -o max_use=20
  161.  
  162. 127.0.0.1:10025 inet n - y - - smtpd
  163. -o content_filter=
  164. -o smtpd_tls_security_level=none
  165. -o smtpd_delay_reject=no
  166. -o smtpd_client_restrictions=permit_mynetworks,reject
  167. -o smtpd_helo_restrictions=
  168. -o smtpd_sender_restrictions=
  169. -o smtpd_recipient_restrictions=permit_sasl_authenticated,permit_mynetworks,reject
  170. -o smtpd_data_restrictions=reject_unauth_pipelining
  171. -o smtpd_end_of_data_restrictions=
  172. -o smtpd_restriction_classes=
  173. -o mynetworks=127.0.0.0/8
  174. -o smtpd_error_sleep_time=0
  175. -o smtpd_soft_error_limit=1001
  176. -o smtpd_hard_error_limit=1000
  177. -o smtpd_client_connection_count_limit=0
  178. -o smtpd_client_connection_rate_limit=0
  179. -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_milters
  180. -o local_header_rewrite_clients=
  181. -o smtpd_milters=
  182. -o local_recipient_maps=
  183. -o relay_recipient_maps=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement