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").
5 # Do not forget to execute "postfix reload" after editing this file.
7 # ==========================================================================
8 # service type private unpriv chroot wakeup maxproc command + args
9 # (yes) (yes) (yes) (never) (100)
10 # ==========================================================================
11 #smtps inet n - - - - smtpd
12 # -o smtpd_tls_wrappermode=yes
13 # -o smtpd_sasl_auth_enable=yes
14 # -o smtpd_client_restrictions=permit_sasl_authenticated,reject
15 # -o milter_macro_daemon_name=ORIGINATING
16 #628 inet n - - - - qmqpd
17 submission inet n - y - - smtpd
18 -o smtpd_tls_security_level=encrypt
19 -o smtpd_sasl_auth_enable=yes
20 -o smtpd_client_restrictions=permit_sasl_authenticated,reject
21 -o milter_macro_daemon_name=ORIGINATING
22 -o content_filter=smtp:127.0.0.1:10025
23 -o smtpd_client_connection_count_limit=15
24 pickup fifo n - y 60 1 pickup
25 cleanup unix n - y - 0 cleanup
26 qmgr fifo n - n 300 1 qmgr
27 #qmgr fifo n - - 300 1 oqmgr
28 tlsmgr unix - - y 1000? 1 tlsmgr
29 rewrite unix - - y - - trivial-rewrite
30 bounce unix - - y - 0 bounce
31 defer unix - - y - 0 bounce
32 trace unix - - y - 0 bounce
33 verify unix - - y - 1 verify
34 flush unix n - y 1000? 0 flush
35 proxymap unix - - n - - proxymap
36 proxywrite unix - - n - 1 proxymap
37 #smtp inet n - - - - smtpd
40 # Before-filter SMTP server. Receive mail from the network and
41 # pass it to the content filter on localhost port 10025.
43 # I *think* that the maxproc cap wants to be no more than the number
44 # of spampd processes that can run, but I'm not really sure
45 # (and hopefully it doesn't *really* matter)
46 smtp unix - - y - - smtp
48 # After-filter SMTP server. Receive mail from the content filter
49 # on localhost port 10026.
51 smtp inet n - y - 5 smtpd
52 -o content_filter=smtp:127.0.0.1:10025
53 -o smtpd_client_connection_count_limit=15
54 127.0.0.1:10026 inet n - n - - smtpd
55 -o smtpd_authorized_xforward_hosts=127.0.0.0/8
56 -o smtpd_client_restrictions=
57 -o smtpd_helo_restrictions=
58 -o smtpd_sender_restrictions=
59 -o smtpd_recipient_restrictions=permit_mynetworks,reject
60 -o smtpd_data_restrictions=
61 -o mynetworks=127.0.0.0/8
62 -o receive_override_options=no_unknown_recipient_checks,no_milters
64 #smtp-forward unix - - n - - smtp -o smtp_bind_address=18.102.208.11
65 #smtp-local unix - - n - - smtp -o smtp_bind_address=18.102.208.44
67 # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
68 # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
69 relay unix - - y - - smtp
70 -o smtp_fallback_relay=
71 showq unix n - y - - showq
72 error unix - - y - - error
73 retry unix - - y - - error
74 discard unix - - y - - discard
75 local unix - n n - - local
76 virtual unix - n n - - virtual
77 lmtp unix - - y - - lmtp
78 anvil unix - - y - 1 anvil
81 # ====================================================================
82 # Interfaces to non-Postfix software. Be sure to examine the manual
83 # pages of the non-Postfix software to find out what options it wants.
85 # Many of the following services use the Postfix pipe(8) delivery
86 # agent. See the pipe(8) man page for information about ${recipient}
87 # and other message envelope options.
88 # ====================================================================
90 # maildrop. See the Postfix MAILDROP_README file for details.
91 # Also specify in main.cf: maildrop_destination_recipient_limit=1
93 scache unix - - y - 1 scache
94 maildrop unix - n n - - pipe
95 flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
97 # See the Postfix UUCP_README file for configuration details.
99 uucp unix - n n - - pipe
100 flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
102 # Other external delivery methods.
104 ifmail unix - n n - - pipe
105 flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
106 bsmtp unix - n n - - pipe
107 flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
108 scalemail-backend unix - n n - 2 pipe
109 flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
110 mailman unix - n n - - pipe
111 flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py