You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-11-23 22:04:47 +02:00
Document as suggested on #mailu-dev
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user