blob: 42a942be1045d753182fcbc68a8c4d5954587002 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
Domains:
mail.joeac.net:
ClientSettingsDomain: clientsettings.mail.joeac.net
LocalpartCatchallSeparator: +
DKIM:
Selectors:
2026a:
Expiration: 72h
PrivateKeyFile: dkim/2026a._domainkey.mail.joeac.net.20260705T163220.rsa2048.privatekey.pkcs8.pem
2026b:
Expiration: 72h
PrivateKeyFile: dkim/2026b._domainkey.mail.joeac.net.20260705T163220.rsa2048.privatekey.pkcs8.pem
Sign:
- 2026a
DMARC:
Localpart: dmarcreports
Account: me
Mailbox: DMARC
MTASTS:
PolicyID: 20260705T153220
Mode: enforce
MaxAge: 24h0m0s
MX:
- mail.joeac.net
TLSRPT:
Localpart: tlsreports
Account: me
Mailbox: TLSRPT
Accounts:
me:
Domain: mail.joeac.net
Destinations:
me@mail.joeac.net: nil
SubjectPass:
Period: 12h0m0s
RejectsMailbox: Rejects
AutomaticJunkFlags:
Enabled: true
JunkMailboxRegexp: ^(junk|spam)
NeutralMailboxRegexp: ^(inbox|neutral|postmaster|dmarc|tlsrpt|rejects)
JunkFilter:
Threshold: 0.950000
Params:
Onegrams: true
MaxPower: 0.010000
TopWords: 10
IgnoreWords: 0.100000
RareWords: 2
NoCustomPassword: true
MonitorDNSBLs:
- zen.spamhaus.org
- bl.spamcop.net
WebHandlers:
{% for subdomain in subdomains %}
{% if subdomain.mox_handler != "none" %}
{% if subdomain.mox_handler == "static" %}
-
LogName: {{ subdomain.name }}.joeac.net
PathRegexp: ^/
Compress: true
Domain: {% if subdomain.name == "@" %}joeac.net{% else %}{{ subdomain.name }}.joeac.net{% endif %}
WebStatic:
Root: {{ services[subdomain.service].root }}
ListFiles: {{ "directory_listing" in services[subdomain.service] and services[subdomain.service].directory_listing }}
ContinueNotFound: true
-
LogName: {{ subdomain.name }}.joeac.net
PathRegexp: ^.*[^(.html)]$
Compress: true
Domain: {% if subdomain.name == "@" %}joeac.net{% else %}{{ subdomain.name }}.joeac.net{% endif %}
WebRedirect:
OrigPathRegexp: ^(.*[^(.html)])$
ReplacePath: $1/index.html
-
LogName: {{ subdomain.name }}.joeac.net
PathRegexp: ^/.*/index.html$
Compress: true
Domain: {% if subdomain.name == "@" %}joeac.net{% else %}{{ subdomain.name }}.joeac.net{% endif %}
WebRedirect:
OrigPathRegexp: ^(.*)/index.html$
ReplacePath: $1.html
{% elif subdomain.mox_handler == "forward" %}
LogName: {{ subdomain.name }}.joeac.net
PathRegexp: ^/
Compress: true
Domain: {% if subdomain.name == "@" %}joeac.net{% else %}{{ subdomain.name }}.joeac.net{% endif %}
WebForward:
URL: http://{{ hostvars[services[subdomain.service].host].ansible_host }}:{{ services[subdomain.service].port }}
{% endif %}
{% endif %}
{% endfor %}
|