Commit 0e092f4c authored by Robert's avatar Robert

Make postmaster address configurable

parent dac403c5
Pipeline #1258 failed with stage
in 1 minute and 47 seconds
......@@ -21,9 +21,8 @@ from features.contributions.signals import (ContributionMailProcessor, MailProce
logger = logging.getLogger(__name__)
# TODO: the error mail target should be taken from the settings?
# internal error mails are sent to the postmaster
POSTMASTER_ADDRESS = 'postmaster@systemausfall.org'
POSTMASTER_ADDRESS = settings.GROUPRISE_POSTMASTER_EMAIL
class Command(django.core.management.base.BaseCommand):
......
......@@ -187,6 +187,7 @@ DEFAULT_FROM_EMAIL = 'noreply@localhost'
DEFAULT_REPLY_TO_EMAIL = 'stadtgestalten+{reply_key}@localhost'
FROM_EMAIL_WITH_SLUG = 'noreply+{slug}@localhost'
STADTGESTALTEN_BOT_EMAIL = 'stadtgestalten-bot@localhost'
GROUPRISE_POSTMASTER_EMAIL = 'postmaster@localhost'
EMAIL_BACKEND = 'mailer.backend.DbBackend'
MAILER_EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment