Document as suggested on #mailu-dev

master
Florent Daigniere 3 years ago
parent a9a1b3e55e
commit 9888efe55d

@ -80,9 +80,8 @@ if os.path.exists("/overrides/mta-sts-daemon.yml"):
conf.jinja("/etc/mta-sts-daemon.yml", os.environ, "/etc/mta-sts-daemon.yml") conf.jinja("/etc/mta-sts-daemon.yml", os.environ, "/etc/mta-sts-daemon.yml")
if not os.path.exists("/etc/postfix/tls_policy.map.lmdb"): if not os.path.exists("/etc/postfix/tls_policy.map.lmdb"):
with open("/etc/postfix/tls_policy.map", "w") as f: with open("/etc/postfix/tls_policy.map", "a") as f:
for domain in ['example.com']: pass
f.write(f'{domain}\tsecure\n')
os.system("postmap /etc/postfix/tls_policy.map") os.system("postmap /etc/postfix/tls_policy.map")
if "RELAYUSER" in os.environ: if "RELAYUSER" in os.environ:

@ -422,6 +422,22 @@ Any mail related connection is proxied by nginx. Therefore the SMTP Banner is al
.. _`1368`: https://github.com/Mailu/Mailu/issues/1368 .. _`1368`: https://github.com/Mailu/Mailu/issues/1368
My emails are getting defered, what can I do?
`````````````````````````````````````````````
Emails are asynchronous and it's not abnormal for them to be defered sometimes. That being said, Mailu enforces secure connections where possible using DANE and MTA-STS, both of which have the potential to delay indefinitely delivery if something is misconfigured.
If delivery to a specific domain fails because their DANE records are invalid or their TLS configuration inadequate (expired certificate, ...), you can assist delivery by downgrading the security level for that domain by creating an override at ``overrides/postfix/tls_policy.map`` as follow:
.. code-block:: bash
domain.example.com may
domain.example.org encrypt
The syntax and options are as described in `postfix's documentation`_. Re-creating the smtp container will be required for changes to take effect.
.. _`postfix's documentation`: http://www.postfix.org/postconf.5.html#smtp_tls_policy_maps
403 - Access Denied Errors 403 - Access Denied Errors
--------------------------- ---------------------------

Loading…
Cancel
Save