annotate modules/postfix/templates/master.cf.epp @ 318:6c89e2c3b5aa

Fix outbound mail IP Moved smtp_bind_address to the place where it makes a difference - the SMTP (not SMTPD) service!
author IBBoard <dev@ibboard.co.uk>
date Sat, 29 Feb 2020 14:08:49 +0000
parents 84a575614d3c
children 6d719622c72f
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 %>]:smtp inet n - n - 1 postscreen
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32 -o postscreen_upstream_proxy_protocol=haproxy
316
84a575614d3c Correct Postfix PROXY listening (and sending)
IBBoard <dev@ibboard.co.uk>
parents: 315
diff changeset
33 -o smtp_bind_address6=<%= $mailserver_ip %>
315
469f2ff92df2 Add a loopback SMTP (for webmail) and strip out other args
IBBoard <dev@ibboard.co.uk>
parents: 314
diff changeset
34 -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
35 -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
36
314
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
37 [<%= $mailserver_proxy %>]:smtps inet n - n - - smtpd
316
84a575614d3c Correct Postfix PROXY listening (and sending)
IBBoard <dev@ibboard.co.uk>
parents: 315
diff changeset
38 -o smtpd_upstream_proxy_protocol=haproxy
314
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
39 -o smtpd_tls_wrappermode=yes
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
40 -o smtpd_sasl_auth_enable=yes
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
41 -o smtpd_client_restrictions=permit_sasl_authenticated,reject
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
42 -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
43
314
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
44 [<%= $mailserver_proxy %>]:submission inet n - n - - smtpd
316
84a575614d3c Correct Postfix PROXY listening (and sending)
IBBoard <dev@ibboard.co.uk>
parents: 315
diff changeset
45 -o smtpd_upstream_proxy_protocol=haproxy
314
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
46 -o smtpd_tls_security_level=encrypt
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47 -o smtpd_sasl_auth_enable=yes
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
48 -o smtpd_client_restrictions=permit_sasl_authenticated,reject
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
49 -o milter_macro_daemon_name=ORIGINATING
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
50 <%- } -%>
315
469f2ff92df2 Add a loopback SMTP (for webmail) and strip out other args
IBBoard <dev@ibboard.co.uk>
parents: 314
diff changeset
51
314
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
52 tlsproxy unix - - n - 0 tlsproxy
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
53 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
54
314
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
55 [<%= $mailserver_ip %>]:submission inet n - n - - smtpd
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
56 -o smtpd_tls_security_level=encrypt
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
315
469f2ff92df2 Add a loopback SMTP (for webmail) and strip out other args
IBBoard <dev@ibboard.co.uk>
parents: 314
diff changeset
60
314
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
61 [<%= $mailserver_ip %>]:smtps inet n - n - - smtpd
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
62 -o smtpd_tls_wrappermode=yes
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
63 -o smtpd_sasl_auth_enable=yes
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
64 -o smtpd_client_restrictions=permit_sasl_authenticated,reject
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
65 -o milter_macro_daemon_name=ORIGINATING
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
66 #628 inet n - n - - qmqpd
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
67 pickup fifo n - n 60 1 pickup
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
68 cleanup unix n - n - 0 cleanup
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
69 qmgr fifo n - n 300 1 qmgr
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
70 #qmgr fifo n - n 300 1 oqmgr
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
71 tlsmgr unix - - n 1000? 1 tlsmgr
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
72 rewrite unix - - n - - trivial-rewrite
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
73 bounce unix - - n - 0 bounce
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
74 defer unix - - n - 0 bounce
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
75 trace unix - - n - 0 bounce
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
76 verify unix - - n - 1 verify
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
77 flush unix n - n 1000? 0 flush
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
78 proxymap unix - - n - - proxymap
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
79 proxywrite unix - - n - 1 proxymap
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
80 smtp unix - - n - - smtp
318
6c89e2c3b5aa Fix outbound mail IP
IBBoard <dev@ibboard.co.uk>
parents: 316
diff changeset
81 <%- if $mailserver_ip =~ Stdlib::IP::Address::V6 { -%>
6c89e2c3b5aa Fix outbound mail IP
IBBoard <dev@ibboard.co.uk>
parents: 316
diff changeset
82 -o smtp_bind_address6=<%= $mailserver_ip %>
6c89e2c3b5aa Fix outbound mail IP
IBBoard <dev@ibboard.co.uk>
parents: 316
diff changeset
83 <%- } else { -%>
6c89e2c3b5aa Fix outbound mail IP
IBBoard <dev@ibboard.co.uk>
parents: 316
diff changeset
84 -o smtp_bind_address=<%= $mailserver_ip %>
6c89e2c3b5aa Fix outbound mail IP
IBBoard <dev@ibboard.co.uk>
parents: 316
diff changeset
85 <%- } -%>
314
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
86 # 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
87 relay unix - - n - - smtp
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
88 -o smtp_fallback_relay=
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
89 # -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
90 showq unix n - n - - showq
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
91 error unix - - n - - error
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
92 retry unix - - n - - error
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
93 discard unix - - n - - discard
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
94 local unix - n n - - local
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
95 virtual unix - n n - - virtual
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
96 lmtp unix - - n - - lmtp
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
97 anvil unix - - n - 1 anvil
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
98 scache unix - - n - 1 scache
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
99 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
100 # ====================================================================
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
101 # 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
102 # 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
103 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
104 # 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
105 # 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
106 # and other message envelope options.
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
107 # ====================================================================
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 # maildrop. See the Postfix MAILDROP_README file for details.
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
110 # 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
111 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
112 #maildrop unix - n n - - pipe
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
113 # 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
114 #
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 # The Cyrus deliver program has changed incompatibly, multiple times.
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
118 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
119 #old-cyrus unix - n n - - pipe
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
120 # 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
121 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
122 # ====================================================================
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 # Cyrus 2.1.5 (Amos Gouaux)
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
125 # 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
126 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
127 #cyrus unix - n n - - pipe
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
128 # 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
129 #
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 # See the Postfix UUCP_README file for configuration details.
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
133 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
134 #uucp unix - n n - - pipe
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
135 # 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
136 #
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 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
139 # Other external delivery methods.
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 #ifmail unix - n n - - pipe
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
142 # 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
143 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
144 #bsmtp unix - n n - - pipe
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
145 # 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
146 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
147 #scalemail-backend unix - n n - 2 pipe
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
148 # 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
149 # ${nexthop} ${user} ${extension}
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
150 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
151 #mailman unix - n n - - pipe
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
152 # 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
153 # ${nexthop} ${user}
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 policy unix - n n - 0 spawn
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
156 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
157
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
158 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
159 # spam/virus section
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
160 #
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
161 smtp-amavis unix - - y - 2 smtp
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
162 -o smtp_data_done_timeout=1200
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
163 -o disable_dns_lookups=yes
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
164 -o smtp_send_xforward_command=yes
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
165 [<%= $lo_ip %>]:10025 inet n - y - - smtpd
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
166 -o content_filter=
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
167 -o smtpd_helo_restrictions=
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
168 -o smtpd_sender_restrictions=
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
169 -o smtpd_recipient_restrictions=permit_mynetworks,reject
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
170 -o mynetworks=[<%= $lo_networks %>]
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
171 -o smtpd_error_sleep_time=0
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
172 -o smtpd_soft_error_limit=1001
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
173 -o smtpd_hard_error_limit=1000
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
174 -o receive_override_options=no_header_body_checks
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
175 -o smtpd_helo_required=no
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
176 -o smtpd_client_restrictions=
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
177 -o smtpd_restriction_classes=
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
178 -o disable_vrfy_command=no
0cddcd21c45e Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
179 -o strict_rfc821_envelopes=yes