No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

etc_postfix_master.cf 6.2KB

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