blob: 614c6f61f3d8bfe05b8b5c238d2b55e8055b5f2d (
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
|
DataDir: ../data
LogLevel: debug
User: mox
Hostname: mail.joeac.net
AdminPasswordFile: adminpasswd
Listeners:
internal:
IPs:
- 127.0.0.1
- ::1
Hostname: localhost
MetricsHTTP:
Enabled: true
public:
IPs:
{% if "address" in ansible_facts.default_ipv4 %}
- {{ ansible_facts.default_ipv4.address }}
{% endif %}
{% if "address" in ansible_facts.default_ipv6 %}
- {{ ansible_facts.default_ipv6.address }}
{% endif %}
NATIPs:
- {{ router.wan.ipv4 }}
- {{ router.wan.ipv6 }}
AccountHTTPS:
Enabled: true
AdminHTTPS:
Enabled: true
WebmailHTTPS:
Enabled: true
WebAPIHTTPS:
Enabled: true
AutoconfigHTTPS:
Enabled: true
MTASTSHTTPS:
Enabled: true
WebserverHTTP:
Enabled: true
WebserverHTTPS:
Enabled: true
TLS:
KeyCerts:
{% for subdomain in ( subdomains | map(attribute='name') ) %}
-
CertFile: /etc/letsencrypt/live/{{ subdomain }}.joeac.net/fullchain.pem
KeyFile: /etc/letsencrypt/live/{{ subdomain }}.joeac.net/privkey.pem
{% endfor %}
SMTP:
Enabled: true
Submissions:
Enabled: true
IMAPS:
Enabled: true
Postmaster:
Account: me
Mailbox: Postmaster
HostTLSRPT:
Account: me
Mailbox: TLSRPT
Localpart: tlsreports
|