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).
6 # Do not forget to execute "postfix reload" after editing this file.
8 # ==========================================================================
9 # service type private unpriv chroot wakeup maxproc command + args
10 # (yes) (yes) (no) (never) (100)
11 # ==========================================================================
12 {% if postfix.postscreen is defined and postfix.postscreen %}
13 smtp inet n - y - 1 postscreen
14 dnsblog unix - - y - 0 dnsblog
15 tlsproxy unix - - y - 0 tlsproxy
17 smtp inet n - y - - smtpd
20 {% if postfix.submission is defined and postfix.submission %}
21 submission inet n - y - - smtpd
22 -o syslog_name=postfix/submission
23 -o smtpd_tls_security_level=encrypt
24 -o smtpd_sasl_auth_enable=yes
25 -o smtpd_tls_ask_ccert=no
26 -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
27 -o smtpd_recipient_restrictions=reject_sender_login_mismatch
30 pickup unix n - y 60 1 pickup
31 cleanup unix n - y - 0 cleanup
32 qmgr unix n - n 300 1 qmgr
33 #qmgr unix n - n 300 1 oqmgr
34 tlsmgr unix - - y 1000? 1 tlsmgr
35 rewrite unix - - y - - trivial-rewrite
36 bounce unix - - y - 0 bounce
37 defer unix - - y - 0 bounce
38 trace unix - - y - 0 bounce
39 verify unix - - y - 1 verify
40 flush unix n - y 1000? 0 flush
41 proxymap unix - - n - - proxymap
42 proxywrite unix - - n - 1 proxymap
43 smtp unix - - y - - smtp
44 relay unix - - y - - smtp
45 # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
46 showq unix n - y - - showq
47 error unix - - y - - error
48 retry unix - - y - - error
49 discard unix - - y - - discard
50 local unix - n n - - local
51 #virtual unix - n n - - virtual
52 lmtp unix - - y - - lmtp
53 anvil unix - - y - 1 anvil
54 scache unix - - y - 1 scache
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.
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 # ====================================================================
65 # maildrop. See the Postfix MAILDROP_README file for details.
66 # Also specify in main.cf: maildrop_destination_recipient_limit=1
68 #maildrop unix - n n - - pipe
69 # flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
71 # ====================================================================
73 # Recent Cyrus versions can use the existing "lmtp" master.cf entry.
75 # Specify in cyrus.conf:
76 # lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
78 # Specify in main.cf one or more of the following:
79 # mailbox_transport = lmtp:inet:localhost
80 # virtual_transport = lmtp:inet:localhost
82 # ====================================================================
84 # Cyrus 2.1.5 (Amos Gouaux)
85 # Also specify in main.cf: cyrus_destination_recipient_limit=1
87 #cyrus unix - n n - - pipe
88 # user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
90 # ====================================================================
91 # Old example of delivery via Cyrus.
93 #old-cyrus unix - n n - - pipe
94 # flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
96 # ====================================================================
98 # See the Postfix UUCP_README file for configuration details.
100 #uucp unix - n n - - pipe
101 # flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
103 # Other external delivery methods.
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}
112 {% if postfix.mailman is defined and postfix.mailman %}
113 mailman unix - n n - - pipe
114 flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py