Advertisement
Guest User

master.cf

a guest
Mar 27th, 2016
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.14 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) (yes) (never) (100)
  11. # ==========================================================================
  12. smtp inet n - - - - smtpd
  13. #smtp inet n - - - 1 postscreen
  14. #smtpd pass - - - - - smtpd
  15. #dnsblog unix - - - - 0 dnsblog
  16. #tlsproxy unix - - - - 0 tlsproxy
  17. submission inet n - - - - smtpd
  18. -o syslog_name=postfix/submission
  19. -o smtpd_tls_security_level=encrypt
  20. -o smtpd_sasl_auth_enable=yes
  21. -o smtpd_sasl_type=dovecot
  22. -o smtpd_sasl_path=private/auth
  23. -o smtpd_sasl_security_options=noanonymous
  24. -o smtpd_sender_login_maps=mysql:/etc/postfix/mysql-email2email.cf
  25. -o smtpd_sender_restrictions=reject_sender_login_mismatch
  26. -o smtpd_sasl_local_domain=$myhostname
  27. -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  28. -o smtpd_recipient_restrictions=reject_non_fqdn_recipient,reject_unknown_recipient_domain,permit_sasl_authenticated,reject
  29. #smtps inet n - - - - smtpd
  30. # -o syslog_name=postfix/smtps
  31. # -o smtpd_tls_wrappermode=yes
  32. # -o smtpd_sasl_auth_enable=yes
  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 - - - - qmqpd
  41. pickup unix n - - 60 1 pickup
  42. cleanup unix n - - - 0 cleanup
  43. qmgr unix n - n 300 1 qmgr
  44. #qmgr unix n - n 300 1 oqmgr
  45. tlsmgr unix - - - 1000? 1 tlsmgr
  46. rewrite unix - - - - - trivial-rewrite
  47. bounce unix - - - - 0 bounce
  48. defer unix - - - - 0 bounce
  49. trace unix - - - - 0 bounce
  50. verify unix - - - - 1 verify
  51. flush unix n - - 1000? 0 flush
  52. proxymap unix - - n - - proxymap
  53. proxywrite unix - - n - 1 proxymap
  54. smtp unix - - - - - smtp
  55. relay unix - - - - - smtp
  56. # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
  57. showq unix n - - - - showq
  58. error unix - - - - - error
  59. retry unix - - - - - error
  60. discard unix - - - - - discard
  61. local unix - n n - - local
  62. virtual unix - n n - - virtual
  63. lmtp unix - - - - - lmtp
  64. anvil unix - - - - 1 anvil
  65. scache unix - - - - 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}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement