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