diff --git a/fragdenstaat_de/settings/production.py b/fragdenstaat_de/settings/production.py index f69fe5b03..b9def3443 100644 --- a/fragdenstaat_de/settings/production.py +++ b/fragdenstaat_de/settings/production.py @@ -176,7 +176,10 @@ def TEMPLATES(self): EMAIL_PORT = 25 # FOI_EMAIL_ACCOUNT_NAME # FOI_EMAIL_ACCOUNT_PASSWORD - FOI_EMAIL_DOMAIN = env("FOI_MAIL_DOMAIN", ["fragdenstaat.de", "echtemail.de"]) + FOI_EMAIL_DOMAIN = [ + x.strip() + for x in env("FOI_MAIL_DOMAIN", "fragdenstaat.de,echtemail.de").split(",") + ] FOI_MAIL_SERVER_HOST = env("FOI_MAIL_SERVER_HOST", "mail.fragdenstaat.de") FOI_EMAIL_FIXED_FROM_ADDRESS = False FOI_EMAIL_FUNC = None