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