You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-11-25 22:12:28 +02:00
Introduce DEFER_ON_TLS_ERROR
This will default to True and defer emails that fail even "loose" validation of DANE or MTA-STS It should work most of the time but if it doesn't and you would rather see your emails delivered, you can turn it off.
This commit is contained in:
@@ -76,6 +76,7 @@ for map_file in glob.glob("/overrides/*.map"):
|
||||
|
||||
if os.path.exists("/overrides/mta-sts-daemon.yml"):
|
||||
shutil.copyfile("/overrides/mta-sts-daemon.yml", "/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.db"):
|
||||
with open("/etc/postfix/tls_policy.map", "w") as f:
|
||||
|
||||
Reference in New Issue
Block a user