iktom

master.cf

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