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