annotate modules/postfix/templates/master.cf.epp @ 319:6d719622c72f

Remove proxied port 25 SMTP can't be proxied (because it's unencrypted and you don't find the target until part way into the conversation) so we don't need a section for it. We'll need to use Mythic Beast's "store-and-forward" mail servers for IPv4 compatibility without SSL
author IBBoard <dev@ibboard.co.uk>
date Sat, 29 Feb 2020 14:10:26 +0000
parents 6c89e2c3b5aa
children 63e0b5149cfb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
314
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 <%- |
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 Stdlib::IP::Address $mailserver_ip,
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 Optional[Stdlib::IP::Address] $mailserver_proxy = undef,
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 Stdlib::IP::Address $lo_ip,
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 Stdlib::IP::Address $lo_networks,
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 |
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 -%>
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 # Postfix master process configuration file. For details on the format
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 # of the file, see the master(5) manual page (command: "man 5 master").
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 # Do not forget to execute "postfix reload" after editing this file.
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 # ==========================================================================
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 # service type private unpriv chroot wakeup maxproc command + args
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 # (yes) (yes) (yes) (never) (100)
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 # ==========================================================================
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 #smtp inet n - n - - smtpd
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 smtpd pass - - n - - smtpd
315
469f2ff92df2 Add a loopback SMTP (for webmail) and strip out other args
IBBoard <dev@ibboard.co.uk>
parents: 314
diff changeset
20 -o smtpd_sasl_auth_enable=no
469f2ff92df2 Add a loopback SMTP (for webmail) and strip out other args
IBBoard <dev@ibboard.co.uk>
parents: 314
diff changeset
21
469f2ff92df2 Add a loopback SMTP (for webmail) and strip out other args
IBBoard <dev@ibboard.co.uk>
parents: 314
diff changeset
22 [<%= $lo_ip %>]:smtp inet n - n - 1 smtpd
469f2ff92df2 Add a loopback SMTP (for webmail) and strip out other args
IBBoard <dev@ibboard.co.uk>
parents: 314
diff changeset
23 -o smtpd_sasl_auth_enable=yes
469f2ff92df2 Add a loopback SMTP (for webmail) and strip out other args
IBBoard <dev@ibboard.co.uk>
parents: 314
diff changeset
24
314
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 [<%= $mailserver_ip %>]:smtp inet n - n - 1 postscreen
315
469f2ff92df2 Add a loopback SMTP (for webmail) and strip out other args
IBBoard <dev@ibboard.co.uk>
parents: 314
diff changeset
26 -o receive_override_options=no_address_mappings
469f2ff92df2 Add a loopback SMTP (for webmail) and strip out other args
IBBoard <dev@ibboard.co.uk>
parents: 314
diff changeset
27 -o smtpd_sasl_auth_enable=no
469f2ff92df2 Add a loopback SMTP (for webmail) and strip out other args
IBBoard <dev@ibboard.co.uk>
parents: 314
diff changeset
28
469f2ff92df2 Add a loopback SMTP (for webmail) and strip out other args
IBBoard <dev@ibboard.co.uk>
parents: 314
diff changeset
29
314
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 <%- if $mailserver_proxy != undef { -%>
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31 [<%= $mailserver_proxy %>]:smtps inet n - n - - smtpd
316
84a575614d3c Correct Postfix PROXY listening (and sending)
IBBoard <dev@ibboard.co.uk>
parents: 315
diff changeset
32 -o smtpd_upstream_proxy_protocol=haproxy
314
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33 -o smtpd_tls_wrappermode=yes
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 -o smtpd_sasl_auth_enable=yes
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
35 -o smtpd_client_restrictions=permit_sasl_authenticated,reject
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36 -o milter_macro_daemon_name=ORIGINATING
315
469f2ff92df2 Add a loopback SMTP (for webmail) and strip out other args
IBBoard <dev@ibboard.co.uk>
parents: 314
diff changeset
37
314
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
38 [<%= $mailserver_proxy %>]:submission inet n - n - - smtpd
316
84a575614d3c Correct Postfix PROXY listening (and sending)
IBBoard <dev@ibboard.co.uk>
parents: 315
diff changeset
39 -o smtpd_upstream_proxy_protocol=haproxy
314
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
40 -o smtpd_tls_security_level=encrypt
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
41 -o smtpd_sasl_auth_enable=yes
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
42 -o smtpd_client_restrictions=permit_sasl_authenticated,reject
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
43 -o milter_macro_daemon_name=ORIGINATING
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
44 <%- } -%>
315
469f2ff92df2 Add a loopback SMTP (for webmail) and strip out other args
IBBoard <dev@ibboard.co.uk>
parents: 314
diff changeset
45
314
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
46 tlsproxy unix - - n - 0 tlsproxy
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47 dnsblog unix - - n - 0 dnsblog
315
469f2ff92df2 Add a loopback SMTP (for webmail) and strip out other args
IBBoard <dev@ibboard.co.uk>
parents: 314
diff changeset
48
314
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
49 [<%= $mailserver_ip %>]:submission inet n - n - - smtpd
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
50 -o smtpd_tls_security_level=encrypt
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
51 -o smtpd_sasl_auth_enable=yes
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
52 -o smtpd_client_restrictions=permit_sasl_authenticated,reject
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
53 -o milter_macro_daemon_name=ORIGINATING
315
469f2ff92df2 Add a loopback SMTP (for webmail) and strip out other args
IBBoard <dev@ibboard.co.uk>
parents: 314
diff changeset
54
314
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
55 [<%= $mailserver_ip %>]:smtps inet n - n - - smtpd
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
56 -o smtpd_tls_wrappermode=yes
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
57 -o smtpd_sasl_auth_enable=yes
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
58 -o smtpd_client_restrictions=permit_sasl_authenticated,reject
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
59 -o milter_macro_daemon_name=ORIGINATING
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
60 #628 inet n - n - - qmqpd
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
61 pickup fifo n - n 60 1 pickup
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
62 cleanup unix n - n - 0 cleanup
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
63 qmgr fifo n - n 300 1 qmgr
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
64 #qmgr fifo n - n 300 1 oqmgr
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
65 tlsmgr unix - - n 1000? 1 tlsmgr
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
66 rewrite unix - - n - - trivial-rewrite
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
67 bounce unix - - n - 0 bounce
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
68 defer unix - - n - 0 bounce
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
69 trace unix - - n - 0 bounce
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
70 verify unix - - n - 1 verify
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
71 flush unix n - n 1000? 0 flush
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
72 proxymap unix - - n - - proxymap
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
73 proxywrite unix - - n - 1 proxymap
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
74 smtp unix - - n - - smtp
318
6c89e2c3b5aa Fix outbound mail IP
IBBoard <dev@ibboard.co.uk>
parents: 316
diff changeset
75 <%- if $mailserver_ip =~ Stdlib::IP::Address::V6 { -%>
6c89e2c3b5aa Fix outbound mail IP
IBBoard <dev@ibboard.co.uk>
parents: 316
diff changeset
76 -o smtp_bind_address6=<%= $mailserver_ip %>
6c89e2c3b5aa Fix outbound mail IP
IBBoard <dev@ibboard.co.uk>
parents: 316
diff changeset
77 <%- } else { -%>
6c89e2c3b5aa Fix outbound mail IP
IBBoard <dev@ibboard.co.uk>
parents: 316
diff changeset
78 -o smtp_bind_address=<%= $mailserver_ip %>
6c89e2c3b5aa Fix outbound mail IP
IBBoard <dev@ibboard.co.uk>
parents: 316
diff changeset
79 <%- } -%>
314
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
80 # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
81 relay unix - - n - - smtp
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
82 -o smtp_fallback_relay=
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
83 # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
84 showq unix n - n - - showq
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
85 error unix - - n - - error
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
86 retry unix - - n - - error
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
87 discard unix - - n - - discard
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
88 local unix - n n - - local
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
89 virtual unix - n n - - virtual
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
90 lmtp unix - - n - - lmtp
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
91 anvil unix - - n - 1 anvil
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
92 scache unix - - n - 1 scache
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
93 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
94 # ====================================================================
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
95 # Interfaces to non-Postfix software. Be sure to examine the manual
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
96 # pages of the non-Postfix software to find out what options it wants.
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
97 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
98 # Many of the following services use the Postfix pipe(8) delivery
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
99 # agent. See the pipe(8) man page for information about ${recipient}
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
100 # and other message envelope options.
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
101 # ====================================================================
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
102 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
103 # maildrop. See the Postfix MAILDROP_README file for details.
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
104 # Also specify in main.cf: maildrop_destination_recipient_limit=1
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
105 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
106 #maildrop unix - n n - - pipe
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
107 # flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
108 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
109 # ====================================================================
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
110 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
111 # The Cyrus deliver program has changed incompatibly, multiple times.
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
112 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
113 #old-cyrus unix - n n - - pipe
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
114 # flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user}
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
115 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
116 # ====================================================================
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
117 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
118 # Cyrus 2.1.5 (Amos Gouaux)
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
119 # Also specify in main.cf: cyrus_destination_recipient_limit=1
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
120 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
121 #cyrus unix - n n - - pipe
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
122 # user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user}
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
123 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
124 # ====================================================================
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
125 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
126 # See the Postfix UUCP_README file for configuration details.
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
127 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
128 #uucp unix - n n - - pipe
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
129 # flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
130 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
131 # ====================================================================
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
132 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
133 # Other external delivery methods.
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
134 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
135 #ifmail unix - n n - - pipe
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
136 # flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
137 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
138 #bsmtp unix - n n - - pipe
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
139 # flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
140 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
141 #scalemail-backend unix - n n - 2 pipe
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
142 # flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
143 # ${nexthop} ${user} ${extension}
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
144 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
145 #mailman unix - n n - - pipe
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
146 # flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
147 # ${nexthop} ${user}
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
148
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
149 policy unix - n n - 0 spawn
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
150 user=nobody argv=/usr/bin/perl /usr/local/lib/postfix-policyd-spf-perl/postfix-policyd-spf-perl
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
151
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
152 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
153 # spam/virus section
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
154 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
155 smtp-amavis unix - - y - 2 smtp
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
156 -o smtp_data_done_timeout=1200
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
157 -o disable_dns_lookups=yes
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
158 -o smtp_send_xforward_command=yes
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
159 [<%= $lo_ip %>]:10025 inet n - y - - smtpd
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
160 -o content_filter=
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
161 -o smtpd_helo_restrictions=
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
162 -o smtpd_sender_restrictions=
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
163 -o smtpd_recipient_restrictions=permit_mynetworks,reject
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
164 -o mynetworks=[<%= $lo_networks %>]
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
165 -o smtpd_error_sleep_time=0
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
166 -o smtpd_soft_error_limit=1001
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
167 -o smtpd_hard_error_limit=1000
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
168 -o receive_override_options=no_header_body_checks
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
169 -o smtpd_helo_required=no
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
170 -o smtpd_client_restrictions=
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
171 -o smtpd_restriction_classes=
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
172 -o disable_vrfy_command=no
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
173 -o strict_rfc821_envelopes=yes