1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-15 17:37:22 +01:00
This commit is contained in:
David Duque
2020-04-17 23:39:52 +01:00
parent 52e9afcf2f
commit 858251045d
2 changed files with 1 additions and 6 deletions

View File

@@ -550,7 +550,7 @@ def smtp_relay_set():
("smtp_sasl_auth_enable", "yes" if config["SMTP_RELAY_AUTH"] else "no"),
("smtp_sasl_security_options", "noanonymous" if config["SMTP_RELAY_AUTH"] else "anonymous"),
("smtp_sasl_tls_security_options", "noanonymous" if config["SMTP_RELAY_AUTH"] else "anonymous"),
))
), False, False)
if config["SMTP_RELAY_AUTH"]:
# Edit the sasl password
with open("/etc/postfix/sasl_passwd", "w") as f: