Advertisement
Guest User

Untitled

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