Guest User

master.cf

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