2 # Modify template in /etc/alternc/templates/
3 # and launch alternc.install if you want
7 # Postfix master process configuration file. For details on the format
8 # of the file, see the master(5) manual page (command: "man 5 master").
10 # Do not forget to execute "postfix reload" after editing this file.
12 # ==========================================================================
13 # service type private unpriv chroot wakeup maxproc command + args
14 # (yes) (yes) (yes) (never) (100)
15 # ==========================================================================
16 smtp inet n - - - - smtpd
17 submission inet n - - - - smtpd
18 -o smtpd_sasl_auth_enable=yes
19 -o smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
20 -o milter_macro_daemon_name=ORIGINATING
21 smtps inet n - - - - smtpd
22 -o smtpd_tls_wrappermode=yes
23 -o smtpd_sasl_auth_enable=yes
24 -o smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
25 -o milter_macro_daemon_name=ORIGINATING
26 #628 inet n - - - - qmqpd
27 pickup fifo n - - 60 1 pickup
28 cleanup unix n - - - 0 cleanup
29 qmgr fifo n - n 300 1 qmgr
30 #qmgr fifo n - - 300 1 oqmgr
31 tlsmgr unix - - - 1000? 1 tlsmgr
32 rewrite unix - - - - - trivial-rewrite
33 bounce unix - - - - 0 bounce
34 defer unix - - - - 0 bounce
35 trace unix - - - - 0 bounce
36 verify unix - - - - 1 verify
37 flush unix n - - 1000? 0 flush
38 proxymap unix - - n - - proxymap
39 proxywrite unix - - n - 1 proxymap
40 smtp unix - - - - - smtp
41 # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
42 relay unix - - - - - smtp
43 -o smtp_fallback_relay=
44 # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
45 showq unix n - - - - showq
46 error unix - - - - - error
47 retry unix - - - - - error
48 discard unix - - - - - discard
49 local unix - n n - - local
50 virtual unix - n n - - virtual
51 lmtp unix - - - - - lmtp
52 anvil unix - - - - 1 anvil
53 scache unix - - - - 1 scache
55 # ====================================================================
56 # Interfaces to non-Postfix software. Be sure to examine the manual
57 # pages of the non-Postfix software to find out what options it wants.
59 # Many of the following services use the Postfix pipe(8) delivery
60 # agent. See the pipe(8) man page for information about ${recipient}
61 # and other message envelope options.
62 # ====================================================================
64 # maildrop. See the Postfix MAILDROP_README file for details.
65 # Also specify in main.cf: maildrop_destination_recipient_limit=1
67 maildrop unix - n n - - pipe
68 flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
70 # ====================================================================
72 # Recent Cyrus versions can use the existing "lmtp" master.cf entry.
74 # Specify in cyrus.conf:
75 # lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
77 # Specify in main.cf one or more of the following:
78 # mailbox_transport = lmtp:inet:localhost
79 # virtual_transport = lmtp:inet:localhost
81 # ====================================================================
83 # Cyrus 2.1.5 (Amos Gouaux)
84 # Also specify in main.cf: cyrus_destination_recipient_limit=1
86 #cyrus unix - n n - - pipe
87 # user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
89 # ====================================================================
90 # Old example of delivery via Cyrus.
92 #old-cyrus unix - n n - - pipe
93 # flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
95 # ====================================================================
97 # See the Postfix UUCP_README file for configuration details.
99 uucp unix - n n - - pipe
100 flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
102 # Other external delivery methods.
104 ifmail unix - n n - - pipe
105 flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
106 bsmtp unix - n n - - pipe
107 flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
108 scalemail-backend unix - n n - 2 pipe
109 flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
110 mailman unix - n n - - pipe
111 flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
113 #dovecot LDA, as explained here: http://wiki.dovecot.org/LDA/Postfix
114 dovecot unix - n n - 0 pipe
115 flags=DRhu user=vmail:vmail argv=/usr/bin/sudo /usr/lib/dovecot/deliver -f ${sender} -a ${recipient} -d ${user}@${nexthop}