mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-25 07:47:05 +00:00
pls
This commit is contained in:
parent
eee5dbf755
commit
da7fe68daa
@ -543,7 +543,7 @@ def smtp_relay_set():
|
|||||||
config["SMTP_RELAY_ENABLED"] = (newconf.get("enabled") == "true")
|
config["SMTP_RELAY_ENABLED"] = (newconf.get("enabled") == "true")
|
||||||
config["SMTP_RELAY_HOST"] = newconf.get("host")
|
config["SMTP_RELAY_HOST"] = newconf.get("host")
|
||||||
config["SMTP_RELAY_AUTH"] = (newconf.get("auth_enabled") == "true")
|
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)
|
utils.write_settings(config, env)
|
||||||
# Write on Postfix config
|
# Write on Postfix config
|
||||||
edit_conf("/etc/postfix/main.cf", [
|
edit_conf("/etc/postfix/main.cf", [
|
||||||
|
Loading…
Reference in New Issue
Block a user