Advertisement
pcwizz

postfix master.cf

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