master.cf 2.08 KB
Newer Older
1
# Postfix master configuration file for the instance handling all outbound email.
ale's avatar
ale committed
2
3
localhost:10025      inet  n       -       y       -       -       smtpd
        -o inet_interfaces=loopback-only
4
{% for overlay in float_host_overlay_networks %}
ale's avatar
ale committed
5
6
{{ hostvars[inventory_hostname]['ip_' + overlay] }}:10025      inet  n       -       y       -       -       smtpd
        -o inet_interfaces={{ hostvars[inventory_hostname]['ip_' + overlay] }}
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{% endfor %}

pickup    unix  n       -       y       60      1       pickup
cleanup   unix  n       -       y       -       0       cleanup
qmgr      unix  n       -       n       300     1       qmgr
tlsmgr    unix  -       -       y       1000?   1       tlsmgr
rewrite   unix  -       -       y       -       -       trivial-rewrite
bounce    unix  -       -       y       -       0       bounce
defer     unix  -       -       y       -       0       bounce
trace     unix  -       -       y       -       0       bounce
verify    unix  -       -       y       -       1       verify
flush     unix  n       -       y       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       y       -       -       smtp
22
smtp-lowpri unix  -       -       y       -       -       smtp
23
24
relay     unix  -       -       y       -       -       smtp
        -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
25
26
        -o smtp_host_lookup=native
        -o ignore_mx_lookup_error=yes
27
28
29
30
31
32
33
showq     unix  n       -       y       -       -       showq
error     unix  -       -       y       -       -       error
retry     unix  -       -       y       -       -       error
discard   unix  -       -       y       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       y       -       -       lmtp
34
        -o lmtp_host_lookup=native
35
36
anvil     unix  -       -       y       -       1       anvil
scache    unix  -       -       y       -       1       scache