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