hakabe

Master.cf

May 6th, 2017
78
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 - y - - smtpd
  18. -o syslog_name=postfix/submission
  19. -o smtpd_tls_security_level=encrypt
  20. -o smtpd_sasl_auth_enable=yes
  21. # -o smtpd_reject_unlisted_recipient=no
  22. # -o smtpd_client_restrictions=$mua_client_restrictions
  23. # -o smtpd_helo_restrictions=$mua_helo_restrictions
  24. # -o smtpd_sender_restrictions=$mua_sender_restrictions
  25. # -o smtpd_recipient_restrictions=
  26. # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  27. # -o milter_macro_daemon_name=ORIGINATING
  28. smtps inet n - y - - smtpd
  29. -o syslog_name=postfix/smtps
  30. -o smtpd_tls_wrappermode=yes
  31. -o smtpd_sasl_auth_enable=yes
  32. -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_milters
  33. # -o smtpd_reject_unlisted_recipient=no
  34. # -o smtpd_client_restrictions=$mua_client_restrictions
  35. # -o smtpd_helo_restrictions=$mua_helo_restrictions
  36. # -o smtpd_sender_restrictions=$mua_sender_restrictions
  37. # -o smtpd_recipient_restrictions=
  38. # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  39. # -o milter_macro_daemon_name=ORIGINATING
  40. #628 inet n - y - - qmqpd
  41. pickup unix n - y 60 1 pickup
  42. cleanup unix n - y - 0 cleanup
  43. qmgr unix n - n 300 1 qmgr
  44. #qmgr unix n - n 300 1 oqmgr
  45. tlsmgr unix - - y 1000? 1 tlsmgr
  46. rewrite unix - - y - - trivial-rewrite
  47. bounce unix - - y - 0 bounce
  48. defer unix - - y - 0 bounce
  49. trace unix - - y - 0 bounce
  50. verify unix - - y - 1 verify
  51. flush unix n - y 1000? 0 flush
  52. proxymap unix - - n - - proxymap
  53. proxywrite unix - - n - 1 proxymap
  54. smtp unix - - y - - smtp
  55. relay unix - - y - - smtp
  56. # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  57. showq unix n - y - - showq
  58. error unix - - y - - error
  59. retry unix - - y - - error
  60. discard unix - - y - - discard
  61. local unix - n n - - local
  62. virtual unix - n n - - virtual
  63. lmtp unix - - y - - lmtp
  64. anvil unix - - y - 1 anvil
  65. scache unix - - y - 1 scache
  66. #
  67. # ====================================================================
  68. # Interfaces to non-Postfix software. Be sure to examine the manual
  69. # pages of the non-Postfix software to find out what options it wants.
  70. #
  71. # Many of the following services use the Postfix pipe(8) delivery
  72. # agent. See the pipe(8) man page for information about ${recipient}
  73. # and other message envelope options.
  74. # ====================================================================
  75. #
  76. # maildrop. See the Postfix MAILDROP_README file for details.
  77. # Also specify in main.cf: maildrop_destination_recipient_limit=1
  78. #
  79. maildrop unix - n n - - pipe
  80. flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
  81. #
  82. # ====================================================================
  83. #
  84. # Recent Cyrus versions can use the existing "lmtp" master.cf entry.
  85. #
  86. # Specify in cyrus.conf:
  87. # lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
  88. #
  89. # Specify in main.cf one or more of the following:
  90. # mailbox_transport = lmtp:inet:localhost
  91. # virtual_transport = lmtp:inet:localhost
  92. #
  93. # ====================================================================
  94. #
  95. # Cyrus 2.1.5 (Amos Gouaux)
  96. # Also specify in main.cf: cyrus_destination_recipient_limit=1
  97. #
  98. #cyrus unix - n n - - pipe
  99. # user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
  100. #
  101. # ====================================================================
  102. # Old example of delivery via Cyrus.
  103. #
  104. #old-cyrus unix - n n - - pipe
  105. # flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
  106. #
  107. # ====================================================================
  108. #
  109. # See the Postfix UUCP_README file for configuration details.
  110. #
  111. uucp unix - n n - - pipe
  112. flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  113. #
  114. # Other external delivery methods.
  115. #
  116. ifmail unix - n n - - pipe
  117. flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  118. bsmtp unix - n n - - pipe
  119. flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
  120. scalemail-backend unix - n n - 2 pipe
  121. flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
  122. mailman unix - n n - - pipe
  123. flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  124. ${nexthop} ${user}
RAW Paste Data