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