0010e61f4fcf046bc4de0d7ace3fe371e795bb69
[sysconfig/postfix.git] / 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 #submission inet n       -       -       -       -       smtpd
12 #  -o smtpd_tls_security_level=encrypt
13 #  -o smtpd_sasl_auth_enable=yes
14 #  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
15 #  -o milter_macro_daemon_name=ORIGINATING
16 #smtps     inet  n       -       -       -       -       smtpd
17 #  -o smtpd_tls_wrappermode=yes
18 #  -o smtpd_sasl_auth_enable=yes
19 #  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
20 #  -o milter_macro_daemon_name=ORIGINATING
21 #628      inet  n       -       -       -       -       qmqpd
22 pickup    fifo  n       -       -       60      1       pickup
23 cleanup   unix  n       -       -       -       0       cleanup
24 qmgr      fifo  n       -       n       300     1       qmgr
25 #qmgr     fifo  n       -       -       300     1       oqmgr
26 tlsmgr    unix  -       -       -       1000?   1       tlsmgr
27 rewrite   unix  -       -       -       -       -       trivial-rewrite
28 bounce    unix  -       -       -       -       0       bounce
29 defer     unix  -       -       -       -       0       bounce
30 trace     unix  -       -       -       -       0       bounce
31 verify    unix  -       -       -       -       1       verify
32 flush     unix  n       -       -       1000?   0       flush
33 proxymap  unix  -       -       n       -       -       proxymap
34 proxywrite unix -       -       n       -       1       proxymap
35 smtp      unix  -       -       -       -       -       smtp
36 #smtp      inet  n       -       -       -       -       smtpd
37 #
38 # Before-filter SMTP server. Receive mail from the network and
39 # pass it to the content filter on localhost port 10025.
40 #
41 smtp      inet  n       -       -       -       10      smtpd
42         -o smtpd_proxy_filter=127.0.0.1:10025
43         -o smtpd_client_connection_count_limit=15
44 #
45 # After-filter SMTP server. Receive mail from the content filter
46 # on localhost port 10026.
47 #
48 127.0.0.1:10026 inet n  -       n       -        -      smtpd
49         -o smtpd_authorized_xforward_hosts=127.0.0.0/8
50         -o smtpd_client_restrictions=
51         -o smtpd_helo_restrictions=
52         -o smtpd_sender_restrictions=
53         -o smtpd_recipient_restrictions=permit_mynetworks,reject
54         -o smtpd_data_restrictions=
55         -o mynetworks=127.0.0.0/8
56         -o receive_override_options=no_unknown_recipient_checks
57
58 # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
59 relay     unix  -       -       -       -       -       smtp
60         -o smtp_fallback_relay=
61 #       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
62 showq     unix  n       -       -       -       -       showq
63 error     unix  -       -       -       -       -       error
64 retry     unix  -       -       -       -       -       error
65 discard   unix  -       -       -       -       -       discard
66 local     unix  -       n       n       -       -       local
67 virtual   unix  -       n       n       -       -       virtual
68 lmtp      unix  -       -       -       -       -       lmtp
69 anvil     unix  -       -       -       -       1       anvil
70 scache    unix  -       -       -       -       1       scache
71 #
72 # ====================================================================
73 # Interfaces to non-Postfix software. Be sure to examine the manual
74 # pages of the non-Postfix software to find out what options it wants.
75 #
76 # Many of the following services use the Postfix pipe(8) delivery
77 # agent.  See the pipe(8) man page for information about ${recipient}
78 # and other message envelope options.
79 # ====================================================================
80 #
81 # maildrop. See the Postfix MAILDROP_README file for details.
82 # Also specify in main.cf: maildrop_destination_recipient_limit=1
83 #
84 maildrop  unix  -       n       n       -       -       pipe
85   flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
86 #
87 # See the Postfix UUCP_README file for configuration details.
88 #
89 uucp      unix  -       n       n       -       -       pipe
90   flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
91 #
92 # Other external delivery methods.
93 #
94 ifmail    unix  -       n       n       -       -       pipe
95   flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
96 bsmtp     unix  -       n       n       -       -       pipe
97   flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
98 scalemail-backend unix  -       n       n       -       2       pipe
99   flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
100 mailman   unix  -       n       n       -       -       pipe
101   flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
102   ${nexthop} ${user}
103