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