This commit is contained in:
David Duque 2020-04-18 00:38:36 +01:00
parent eee5dbf755
commit da7fe68daa
No known key found for this signature in database
GPG Key ID: 2F327738A3C0AE3A
1 changed files with 1 additions and 1 deletions

View File

@ -543,7 +543,7 @@ def smtp_relay_set():
config["SMTP_RELAY_ENABLED"] = (newconf.get("enabled") == "true")
config["SMTP_RELAY_HOST"] = newconf.get("host")
config["SMTP_RELAY_AUTH"] = (newconf.get("auth_enabled") == "true")
config["SMTP_RELAY_USER"] = newconf.get("user") == "true"
config["SMTP_RELAY_USER"] = newconf.get("user")
utils.write_settings(config, env)
# Write on Postfix config
edit_conf("/etc/postfix/main.cf", [