Nav apraksta
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

etc_postfix_master.cf 5.8KB

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