Mercurial > repos > other > Puppet
annotate modules/postfix/templates/master.cf.epp @ 390:df5ad1612af7
Adapt configs to support Ubuntu
This is prep for running a VPS on a Mythic Beasts Raspberry Pi
* Switch paths where necessary
* Add optional modules that only apply on some OSes
* Change usernames and groups
* Don't do RPM-based stuff in Ubuntu
* Switch to using some of the new modules
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 03 Jan 2022 18:37:16 +0000 |
parents | e48167ee504f |
children |
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, |
390
df5ad1612af7
Adapt configs to support Ubuntu
IBBoard <dev@ibboard.co.uk>
parents:
328
diff
changeset
|
6 Stdlib::AbsolutePath $policyd_script, |
326 | 7 Optional[Array[Stdlib::Host]] $fallback_relays = [] |
314
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 -%> |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 # |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 # 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
|
12 # 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
|
13 # |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 # 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
|
15 # |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
16 # ========================================================================== |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 # service type private unpriv chroot wakeup maxproc command + args |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 # (yes) (yes) (yes) (never) (100) |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
19 # ========================================================================== |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
20 #smtp inet n - n - - smtpd |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
21 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
|
22 -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
|
23 |
469f2ff92df2
Add a loopback SMTP (for webmail) and strip out other args
IBBoard <dev@ibboard.co.uk>
parents:
314
diff
changeset
|
24 [<%= $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
|
25 -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
|
26 |
314
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
27 [<%= $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
|
28 -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
|
29 -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
|
30 |
469f2ff92df2
Add a loopback SMTP (for webmail) and strip out other args
IBBoard <dev@ibboard.co.uk>
parents:
314
diff
changeset
|
31 |
314
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
32 <%- if $mailserver_proxy != undef { -%> |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
33 [<%= $mailserver_proxy %>]:smtps inet n - n - - smtpd |
316
84a575614d3c
Correct Postfix PROXY listening (and sending)
IBBoard <dev@ibboard.co.uk>
parents:
315
diff
changeset
|
34 -o smtpd_upstream_proxy_protocol=haproxy |
314
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
35 -o smtpd_tls_wrappermode=yes |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
36 -o smtpd_sasl_auth_enable=yes |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
37 -o smtpd_client_restrictions=permit_sasl_authenticated,reject |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
38 -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
|
39 |
314
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
40 [<%= $mailserver_proxy %>]:submission inet n - n - - smtpd |
316
84a575614d3c
Correct Postfix PROXY listening (and sending)
IBBoard <dev@ibboard.co.uk>
parents:
315
diff
changeset
|
41 -o smtpd_upstream_proxy_protocol=haproxy |
314
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
42 -o smtpd_tls_security_level=encrypt |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
43 -o smtpd_sasl_auth_enable=yes |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
44 -o smtpd_client_restrictions=permit_sasl_authenticated,reject |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
45 -o milter_macro_daemon_name=ORIGINATING |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
46 <%- } -%> |
315
469f2ff92df2
Add a loopback SMTP (for webmail) and strip out other args
IBBoard <dev@ibboard.co.uk>
parents:
314
diff
changeset
|
47 |
314
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
48 tlsproxy unix - - n - 0 tlsproxy |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
49 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
|
50 |
314
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
51 [<%= $mailserver_ip %>]:submission inet n - n - - smtpd |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
52 -o smtpd_tls_security_level=encrypt |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
53 -o smtpd_sasl_auth_enable=yes |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
54 -o smtpd_client_restrictions=permit_sasl_authenticated,reject |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
55 -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
|
56 |
314
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
57 [<%= $mailserver_ip %>]:smtps inet n - n - - smtpd |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
58 -o smtpd_tls_wrappermode=yes |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
59 -o smtpd_sasl_auth_enable=yes |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
60 -o smtpd_client_restrictions=permit_sasl_authenticated,reject |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
61 -o milter_macro_daemon_name=ORIGINATING |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
62 #628 inet n - n - - qmqpd |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
63 pickup fifo n - n 60 1 pickup |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
64 cleanup unix n - n - 0 cleanup |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
65 qmgr fifo n - n 300 1 qmgr |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
66 #qmgr fifo n - n 300 1 oqmgr |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
67 tlsmgr unix - - n 1000? 1 tlsmgr |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
68 rewrite unix - - n - - trivial-rewrite |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
69 bounce unix - - n - 0 bounce |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
70 defer unix - - n - 0 bounce |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
71 trace unix - - n - 0 bounce |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
72 verify unix - - n - 1 verify |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
73 flush unix n - n 1000? 0 flush |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
74 proxymap unix - - n - - proxymap |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
75 proxywrite unix - - n - 1 proxymap |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
76 smtp unix - - n - - smtp |
318 | 77 <%- if $mailserver_ip =~ Stdlib::IP::Address::V6 { -%> |
78 -o smtp_bind_address6=<%= $mailserver_ip %> | |
79 <%- } else { -%> | |
80 -o smtp_bind_address=<%= $mailserver_ip %> | |
81 <%- } -%> | |
326 | 82 <%- if size($fallback_relays) > 0 { -%> |
328
e48167ee504f
Fix type in Postfix paramter name
IBBoard <dev@ibboard.co.uk>
parents:
327
diff
changeset
|
83 -o smtp_fallback_relay=<%= join($fallback_relays.map |$relay| { "[$relay]" }, ", ") %> |
326 | 84 <%- } -%> |
314
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
85 # 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
|
86 relay unix - - n - - smtp |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
87 -o smtp_fallback_relay= |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
88 # -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
|
89 showq unix n - n - - showq |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
90 error unix - - n - - error |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
91 retry unix - - n - - error |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
92 discard unix - - n - - discard |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
93 local unix - n n - - local |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
94 virtual unix - n n - - virtual |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
95 lmtp unix - - n - - lmtp |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
96 anvil unix - - n - 1 anvil |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
97 scache unix - - n - 1 scache |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
98 # |
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 # 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
|
101 # 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
|
102 # |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
103 # 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
|
104 # 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
|
105 # and other message envelope options. |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
106 # ==================================================================== |
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 # maildrop. See the Postfix MAILDROP_README file for details. |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
109 # 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
|
110 # |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
111 #maildrop unix - n n - - pipe |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
112 # 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
|
113 # |
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 # The Cyrus deliver program has changed incompatibly, multiple times. |
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 #old-cyrus unix - n n - - pipe |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
119 # 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
|
120 # |
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 # Cyrus 2.1.5 (Amos Gouaux) |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
124 # 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
|
125 # |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
126 #cyrus unix - n n - - pipe |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
127 # 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
|
128 # |
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 # See the Postfix UUCP_README file for configuration details. |
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 #uucp unix - n n - - pipe |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
134 # 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
|
135 # |
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 # Other external delivery methods. |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
139 # |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
140 #ifmail unix - n n - - pipe |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
141 # 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
|
142 # |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
143 #bsmtp unix - n n - - pipe |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
144 # 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
|
145 # |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
146 #scalemail-backend unix - n n - 2 pipe |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
147 # 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
|
148 # ${nexthop} ${user} ${extension} |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
149 # |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
150 #mailman unix - n n - - pipe |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
151 # 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
|
152 # ${nexthop} ${user} |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
153 |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
154 policy unix - n n - 0 spawn |
390
df5ad1612af7
Adapt configs to support Ubuntu
IBBoard <dev@ibboard.co.uk>
parents:
328
diff
changeset
|
155 user=nobody argv=<%= $policyd_script %> |
314
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
156 |
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 # spam/virus section |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
159 # |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
160 smtp-amavis unix - - y - 2 smtp |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
161 -o smtp_data_done_timeout=1200 |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
162 -o disable_dns_lookups=yes |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
163 -o smtp_send_xforward_command=yes |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
164 [<%= $lo_ip %>]:10025 inet n - y - - smtpd |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
165 -o content_filter= |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
166 -o smtpd_helo_restrictions= |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
167 -o smtpd_sender_restrictions= |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
168 -o smtpd_recipient_restrictions=permit_mynetworks,reject |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
169 -o mynetworks=[<%= $lo_networks %>] |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
170 -o smtpd_error_sleep_time=0 |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
171 -o smtpd_soft_error_limit=1001 |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
172 -o smtpd_hard_error_limit=1000 |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
173 -o receive_override_options=no_header_body_checks |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
174 -o smtpd_helo_required=no |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
175 -o smtpd_client_restrictions= |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
176 -o smtpd_restriction_classes= |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
177 -o disable_vrfy_command=no |
0cddcd21c45e
Add forgotten "EPP" format template files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
178 -o strict_rfc821_envelopes=yes |