Advertisement
Guest User

Untitled

a guest
Jul 20th, 2019
110
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" or
  4. # on-line: http://www.postfix.org/master.5.html).
  5. #
  6. # Do not forget to execute "postfix reload" after editing this file.
  7. #
  8. # ==========================================================================
  9. # service type private unpriv chroot wakeup maxproc command + args
  10. # (yes) (yes) (no) (never) (100)
  11. # ==========================================================================
  12. smtp inet n - y - - smtpd
  13. #smtp inet n - y - 1 postscreen
  14. #smtpd pass - - y - - smtpd
  15. #dnsblog unix - - y - 0 dnsblog
  16. #tlsproxy unix - - y - 0 tlsproxy
  17. submission inet n - n - - smtpd
  18. -o syslog_name=postfix/submission
  19. -o smtpd_tls_security_level=encrypt
  20. # -o smtpd_etrn_restrictions=reject
  21. -o smtpd_sasl_auth_enable=yes
  22. -o smtpd_sasl_type=dovecot
  23. -o smtpd_sasl_path=private/auth
  24. -o smtpd_sasl_security_options=noanonymous
  25. -o smtpd_reject_unlisted_recipient=yes
  26. # -o smtpd_client_restrictions=$mua_client_restrictions
  27. # -o smtpd_helo_restrictions=$mua_helo_restrictions
  28. -o smtpd_sender_restrictions=$mua_sender_restrictions
  29. -o smtpd_recipient_restrictions=permit_mynetworks, reject_nonfqdn_recipient,reject_unknown_recipient_domain,permit_sasl_authenticates,reject
  30. -o receive_override_options=no_header_body_checks
  31. # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  32. # -o milter_macro_daemon_name=ORIGINATING
  33. #smtps inet n - y - - smtpd
  34. # -o syslog_name=postfix/smtps
  35. # -o smtpd_tls_wrappermode=yes
  36. # -o smtpd_sasl_auth_enable=yes
  37. # -o smtpd_reject_unlisted_recipient=no
  38. # -o smtpd_client_restrictions=$mua_client_restrictions
  39. # -o smtpd_helo_restrictions=$mua_helo_restrictions
  40. # -o smtpd_sender_restrictions=$mua_sender_restrictions
  41. # -o smtpd_recipient_restrictions=
  42. # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  43. # -o milter_macro_daemon_name=ORIGINATING
  44. #628 inet n - y - - qmqpd
  45. pickup unix n - y 60 1 pickup
  46. cleanup unix n - y - 0 cleanup
  47. qmgr unix n - n 300 1 qmgr
  48. #qmgr unix n - n 300 1 oqmgr
  49. tlsmgr unix - - y 1000? 1 tlsmgr
  50. rewrite unix - - y - - trivial-rewrite
  51. bounce unix - - y - 0 bounce
  52. defer unix - - y - 0 bounce
  53. trace unix - - y - 0 bounce
  54. verify unix - - y - 1 verify
  55. flush unix n - y 1000? 0 flush
  56. proxymap unix - - n - - proxymap
  57. proxywrite unix - - n - 1 proxymap
  58. smtp unix - - y - - smtp
  59. relay unix - - y - - smtp
  60. # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  61. showq unix n - y - - showq
  62. error unix - - y - - error
  63. retry unix - - y - - error
  64. discard unix - - y - - discard
  65. local unix - n n - - local
  66. virtual unix - n n - - virtual
  67. lmtp unix - - y - - lmtp
  68. anvil unix - - y - 1 anvil
  69. scache unix - - y - 1 scache
  70. #
  71. # ====================================================================
  72. # Interfaces to non-Postfix software. Be sure to examine the manual
  73. # pages of the non-Postfix software to find out what options it wants.
  74. #
  75. # Many of the following services use the Postfix pipe(8) delivery
  76. # agent. See the pipe(8) man page for information about ${recipient}
  77. # and other message envelope options.
  78. # ====================================================================
  79. #
  80. # maildrop. See the Postfix MAILDROP_README file for details.
  81. # Also specify in main.cf: maildrop_destination_recipient_limit=1
  82. #
  83. maildrop unix - n n - - pipe
  84. flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
  85. #
  86. # ====================================================================
  87. #
  88. # Recent Cyrus versions can use the existing "lmtp" master.cf entry.
  89. #
  90. # Specify in cyrus.conf:
  91. # lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
  92. #
  93. # Specify in main.cf one or more of the following:
  94. # mailbox_transport = lmtp:inet:localhost
  95. # virtual_transport = lmtp:inet:localhost
  96. #
  97. # ====================================================================
  98. #
  99. # Cyrus 2.1.5 (Amos Gouaux)
  100. # Also specify in main.cf: cyrus_destination_recipient_limit=1
  101. #
  102. #cyrus unix - n n - - pipe
  103. # user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
  104. #
  105. # ====================================================================
  106. # Old example of delivery via Cyrus.
  107. #
  108. #old-cyrus unix - n n - - pipe
  109. # flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
  110. #
  111. # ====================================================================
  112. #
  113. # See the Postfix UUCP_README file for configuration details.
  114. #
  115. uucp unix - n n - - pipe
  116. flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  117. #
  118. # Other external delivery methods.
  119. #
  120. ifmail unix - n n - - pipe
  121. flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  122. bsmtp unix - n n - - pipe
  123. flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
  124. scalemail-backend unix - n n - 2 pipe
  125. flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
  126. mailman unix - n n - - pipe
  127. flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  128. ${nexthop} ${user
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement