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 smtpd_proxy_filter=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
39 # Before-filter SMTP server. Receive mail from the network and
40 # pass it to the content filter on localhost port 10025.
42 # I *think* that the maxproc cap wants to be no more than the number
43 # of spampd processes that can run, but I'm not really sure
44 # (and hopefully it doesn't *really* matter)
45 smtp unix - - y - - smtp
47 # After-filter SMTP server. Receive mail from the content filter
48 # on localhost port 10026.
50 smtp inet n - y - 5 smtpd
51 -o smtpd_proxy_filter=127.0.0.1:10025
52 -o smtpd_client_connection_count_limit=15
53 127.0.0.1:10026 inet n - n - - smtpd
54 -o smtpd_authorized_xforward_hosts=127.0.0.0/8
55 -o smtpd_client_restrictions=
56 -o smtpd_helo_restrictions=
57 -o smtpd_sender_restrictions=
58 -o smtpd_recipient_restrictions=permit_mynetworks,reject
59 -o smtpd_data_restrictions=
60 -o mynetworks=127.0.0.0/8
61 -o receive_override_options=no_unknown_recipient_checks
63 smtp-forward unix - - n - - smtp -o smtp_bind_address=18.102.208.11
64 smtp-local unix - - n - - smtp -o smtp_bind_address=18.102.208.44
66 # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
67 # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
68 relay unix - - y - - smtp
69 -o smtp_fallback_relay=
70 showq unix n - y - - showq
71 error unix - - y - - error
72 retry unix - - y - - error
73 discard unix - - y - - discard
74 local unix - n n - - local
75 virtual unix - n n - - virtual
76 lmtp unix - - y - - lmtp
77 anvil unix - - y - 1 anvil
80 # ====================================================================
81 # Interfaces to non-Postfix software. Be sure to examine the manual
82 # pages of the non-Postfix software to find out what options it wants.
84 # Many of the following services use the Postfix pipe(8) delivery
85 # agent. See the pipe(8) man page for information about ${recipient}
86 # and other message envelope options.
87 # ====================================================================
89 # maildrop. See the Postfix MAILDROP_README file for details.
90 # Also specify in main.cf: maildrop_destination_recipient_limit=1
92 scache unix - - y - 1 scache
93 maildrop unix - n n - - pipe
94 flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
96 # See the Postfix UUCP_README file for configuration details.
98 uucp unix - n n - - pipe
99 flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
101 # Other external delivery methods.
103 ifmail unix - n n - - pipe
104 flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
105 bsmtp unix - n n - - pipe
106 flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
107 scalemail-backend unix - n n - 2 pipe
108 flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
109 mailman unix - n n - - pipe
110 flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py