4 |
- |
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 - n - - smtpd
|
|
|
12 |
#submission inet n - 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 - 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 - n - - qmqpd
|
|
|
23 |
pickup fifo n - n 60 1 pickup
|
|
|
24 |
cleanup unix n - n - 0 cleanup
|
|
|
25 |
qmgr fifo n - n 300 1 qmgr
|
|
|
26 |
#qmgr fifo n - n 300 1 oqmgr
|
|
|
27 |
tlsmgr unix - - n 1000? 1 tlsmgr
|
|
|
28 |
rewrite unix - - n - - trivial-rewrite
|
|
|
29 |
bounce unix - - n - 0 bounce
|
|
|
30 |
defer unix - - n - 0 bounce
|
|
|
31 |
trace unix - - n - 0 bounce
|
|
|
32 |
verify unix - - n - 1 verify
|
|
|
33 |
flush unix n - n 1000? 0 flush
|
|
|
34 |
proxymap unix - - n - - proxymap
|
|
|
35 |
proxywrite unix - - n - 1 proxymap
|
|
|
36 |
smtp unix - - n - - smtp
|
|
|
37 |
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
|
|
|
38 |
relay unix - - n - - smtp
|
|
|
39 |
-o smtp_fallback_relay=
|
|
|
40 |
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
|
|
|
41 |
showq unix n - n - - showq
|
|
|
42 |
error unix - - n - - error
|
|
|
43 |
retry unix - - n - - error
|
|
|
44 |
discard unix - - n - - discard
|
|
|
45 |
local unix - n n - - local
|
|
|
46 |
virtual unix - n n - - virtual
|
|
|
47 |
lmtp unix - - n - - lmtp
|
|
|
48 |
anvil unix - - n - 1 anvil
|
|
|
49 |
scache unix - - n - 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/local/bin/maildrop -d ${recipient}
|
|
|
65 |
#
|
|
|
66 |
# ====================================================================
|
|
|
67 |
#
|
|
|
68 |
# The Cyrus deliver program has changed incompatibly, multiple times.
|
|
|
69 |
#
|
|
|
70 |
#old-cyrus unix - n n - - pipe
|
|
|
71 |
# flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
|
|
|
72 |
#
|
|
|
73 |
# ====================================================================
|
|
|
74 |
#
|
|
|
75 |
# Cyrus 2.1.5 (Amos Gouaux)
|
|
|
76 |
# Also specify in main.cf: cyrus_destination_recipient_limit=1
|
|
|
77 |
#
|
|
|
78 |
#cyrus unix - n n - - pipe
|
|
|
79 |
# user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
|
|
|
80 |
#
|
|
|
81 |
# ====================================================================
|
|
|
82 |
#
|
|
|
83 |
# See the Postfix UUCP_README file for configuration details.
|
|
|
84 |
#
|
|
|
85 |
#uucp unix - n n - - pipe
|
|
|
86 |
# flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
|
|
|
87 |
#
|
|
|
88 |
# ====================================================================
|
|
|
89 |
#
|
|
|
90 |
# Other external delivery methods.
|
|
|
91 |
#
|
|
|
92 |
#ifmail unix - n n - - pipe
|
|
|
93 |
# flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
|
|
|
94 |
#
|
|
|
95 |
#bsmtp unix - n n - - pipe
|
|
|
96 |
# flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
|
|
|
97 |
#
|
|
|
98 |
#scalemail-backend unix - n n - 2 pipe
|
|
|
99 |
# flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
|
|
|
100 |
# ${nexthop} ${user} ${extension}
|
|
|
101 |
#
|
|
|
102 |
#mailman unix - n n - - pipe
|
|
|
103 |
# flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
|
|
|
104 |
# ${nexthop} ${user}
|
|
|
105 |
|
|
|
106 |
#
|
|
|
107 |
# Amavis
|
|
|
108 |
#
|
|
|
109 |
smtp-amavis unix - - y - 2 smtp
|
|
|
110 |
-o smtp_data_done_timeout=1200
|
|
|
111 |
-o disable_dns_lookups=yes
|
|
|
112 |
|
|
|
113 |
127.0.0.1:10025 inet n - y - - smtpd
|
|
|
114 |
-o content_filter=
|
|
|
115 |
-o local_recipient_maps=
|
|
|
116 |
-o relay_recipient_maps=
|
|
|
117 |
-o smtpd_restriction_classes=
|
|
|
118 |
-o smtpd_client_restrictions=
|
|
|
119 |
-o smtpd_helo_restrictions=
|
|
|
120 |
-o smtpd_sender_restrictions=
|
|
|
121 |
-o smtpd_recipient_restrictions=permit_mynetworks,reject
|
|
|
122 |
-o mynetworks=127.0.0.0/8
|
|
|
123 |
-o strict_rfc821_envelopes=yes
|
|
|
124 |
|
|
|
125 |
#
|
|
|
126 |
# Zarafa
|
|
|
127 |
#
|
|
|
128 |
zarafa unix - n n - 10 pipe
|
|
|
129 |
flags=DRhu user=zarafa argv=/usr/bin/zarafa-dagent ${user}
|