Skip to content

Commit c5b9566

Browse files
committed
simplified master.cf
1 parent 023d926 commit c5b9566

1 file changed

Lines changed: 28 additions & 138 deletions

File tree

postfix/conf.d/master.cf

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

0 commit comments

Comments
 (0)