1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-12 10:45:38 +02:00

Document as suggested on #mailu-dev

This commit is contained in:
Florent Daigniere 2021-09-05 18:23:08 +02:00
parent a9a1b3e55e
commit 9888efe55d
2 changed files with 18 additions and 3 deletions

View File

@ -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")
if not os.path.exists("/etc/postfix/tls_policy.map.lmdb"):
with open("/etc/postfix/tls_policy.map", "w") as f:
for domain in ['example.com']:
f.write(f'{domain}\tsecure\n')
with open("/etc/postfix/tls_policy.map", "a") as f:
pass
os.system("postmap /etc/postfix/tls_policy.map")
if "RELAYUSER" in os.environ:

View File

@ -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
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
---------------------------