master.cf.ops 5.4 KB

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