Advertisement
Justin_SE

master.cf

Feb 15th, 2016
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.37 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. smtp inet n - n - - smtpd
  12. submission inet n - n - - smtpd
  13. -o smtpd_tls_security_level=encrypt
  14. -o smtpd_sasl_auth_enable=yes
  15. -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  16. -o milter_macro_daemon_name=ORIGINATING
  17. -o smtpd_sasl_type=dovecot
  18. -o smtpd_sasl_path=private/auth
  19. -o smtpd_sasl_security_options=noanonymous
  20. #smtps inet n - n - - smtpd
  21. # -o smtpd_tls_wrappermode=yes
  22. # -o smtpd_sasl_auth_enable=yes
  23. # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  24. # -o milter_macro_daemon_name=ORIGINATING
  25. #628 inet n - n - - qmqpd
  26. pickup fifo n - n 60 1 pickup
  27. cleanup unix n - n - 0 cleanup
  28. qmgr fifo n - n 300 1 qmgr
  29. #qmgr fifo n - n 300 1 oqmgr
  30. tlsmgr unix - - n 1000? 1 tlsmgr
  31. rewrite unix - - n - - trivial-rewrite
  32. bounce unix - - n - 0 bounce
  33. defer unix - - n - 0 bounce
  34. trace unix - - n - 0 bounce
  35. verify unix - - n - 1 verify
  36. flush unix n - n 1000? 0 flush
  37. proxymap unix - - n - - proxymap
  38. proxywrite unix - - n - 1 proxymap
  39. smtp unix - - n - - smtp
  40. # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
  41. relay unix - - n - - smtp
  42. -o smtp_fallback_relay=
  43. # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  44. showq unix n - n - - showq
  45. error unix - - n - - error
  46. retry unix - - n - - error
  47. discard unix - - n - - discard
  48. local unix - n n - - local
  49. virtual unix - n n - - virtual
  50. lmtp unix - - n - - lmtp
  51. anvil unix - - n - 1 anvil
  52. scache unix - - n - 1 scache
  53. #
  54. # ====================================================================
  55. # Interfaces to non-Postfix software. Be sure to examine the manual
  56. # pages of the non-Postfix software to find out what options it wants.
  57. #
  58. # Many of the following services use the Postfix pipe(8) delivery
  59. # agent. See the pipe(8) man page for information about ${recipient}
  60. # and other message envelope options.
  61. # ====================================================================
  62. #
  63. # maildrop. See the Postfix MAILDROP_README file for details.
  64. # Also specify in main.cf: maildrop_destination_recipient_limit=1
  65. #
  66. #maildrop unix - n n - - pipe
  67. # flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
  68. #
  69. # ====================================================================
  70. #
  71. # The Cyrus deliver program has changed incompatibly, multiple times.
  72. #
  73. #old-cyrus unix - n n - - pipe
  74. # flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
  75. #
  76. # ====================================================================
  77. #
  78. # Cyrus 2.1.5 (Amos Gouaux)
  79. # Also specify in main.cf: cyrus_destination_recipient_limit=1
  80. #
  81. #cyrus unix - n n - - pipe
  82. # user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
  83. #
  84. # ====================================================================
  85. #
  86. # See the Postfix UUCP_README file for configuration details.
  87. #
  88. #uucp unix - n n - - pipe
  89. # flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  90. #
  91. # ====================================================================
  92. #
  93. # Other external delivery methods.
  94. #
  95. #ifmail unix - n n - - pipe
  96. # flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  97. #
  98. #bsmtp unix - n n - - pipe
  99. # flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
  100. #
  101. #scalemail-backend unix - n n - 2 pipe
  102. # flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
  103. # ${nexthop} ${user} ${extension}
  104. #
  105. #mailman unix - n n - - pipe
  106. # flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  107. # ${nexthop} ${user}
  108.  
  109. 127.0.0.1:10025 inet n - n - - smtpd
  110. -o content_filter=
  111. -o smtpd_delay_reject=no
  112. -o smtpd_client_restrictions=permit_mynetworks,reject
  113. -o smtpd_helo_restrictions=
  114. -o smtpd_sender_restrictions=
  115. -o smtpd_recipient_restrictions=permit_mynetworks,reject
  116. -o smtpd_data_restrictions=reject_unauth_pipelining
  117. -o smtpd_end_of_data_restrictions=
  118. -o smtpd_restriction_classes=
  119. -o mynetworks=127.0.0.0/8
  120. -o smtpd_error_sleep_time=0
  121. -o smtpd_soft_error_limit=1001
  122. -o smtpd_hard_error_limit=1000
  123. -o smtpd_client_connection_count_limit=0
  124. -o smtpd_client_connection_rate_limit=0
  125. -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_milters,no_address_mappings
  126. -o local_header_rewrite_clients=
  127. -o smtpd_milters=
  128. -o local_recipient_maps=
  129. -o relay_recipient_maps=
  130.  
  131. amavisfeed unix - - n - 2 lmtp
  132. -o lmtp_data_done_timeout=1200
  133. -o lmtp_send_xforward_command=yes
  134.  
  135. dovecot unix - n n - - pipe
  136. flags=DRhu user=mailreader:mail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${recipient}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement