Advertisement
SipriusPT

Master.cf

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