選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

master.cf 5.3KB

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