summaryrefslogtreecommitdiff
path: root/ansible/roles/mox/templates/mox.conf
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/mox/templates/mox.conf')
-rw-r--r--ansible/roles/mox/templates/mox.conf62
1 files changed, 0 insertions, 62 deletions
diff --git a/ansible/roles/mox/templates/mox.conf b/ansible/roles/mox/templates/mox.conf
deleted file mode 100644
index 8cafc25..0000000
--- a/ansible/roles/mox/templates/mox.conf
+++ /dev/null
@@ -1,62 +0,0 @@
-DataDir: ../data
-LogLevel: debug
-User: mox
-Hostname: mail.joeac.net
-AdminPasswordFile: adminpasswd
-CheckUpdates: true
-Listeners:
- internal:
- IPs:
- - 127.0.0.1
- - ::1
- Hostname: localhost
- MetricsHTTP:
- Enabled: true
- public:
- IPs:
-{% for interface in ansible_facts.interfaces | reject("eq", "lo") %}
- - {{ ansible_facts[interface].ipv4.address }}
-{% for ipv6 in ansible_facts[interface].ipv6 | selectattr("scope", "eq", "global") %}
- - {{ ipv6.address }}
-{% endfor %}
-{% endfor %}
- NATIPs:
- - {{ router.wan.ipv4 }}
- - {{ ansible_facts.default_ipv6.address }}
- 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
- RequireSTARTTLS: true
- Submissions:
- Enabled: true
- IMAPS:
- Enabled: true
-Postmaster:
- Account: me
- Mailbox: Postmaster
-HostTLSRPT:
- Account: me
- Mailbox: TLSRPT
- Localpart: tlsreports