Add new param SENDER, SENDER_DIR

This commit is contained in:
Son NK 2020-06-10 13:54:42 +02:00
parent b47d95226d
commit 9abfa3e98c
2 changed files with 11 additions and 0 deletions

View File

@ -62,6 +62,12 @@ except Exception:
# maximum number of directory a premium user can create
MAX_NB_DIRECTORY = 50
# transactional email sender
SENDER = os.environ.get("SENDER")
# the directory to store bounce emails
SENDER_DIR = os.environ.get("SENDER_DIR")
ENFORCE_SPF = "ENFORCE_SPF" in os.environ
# allow to override postfix server locally

View File

@ -33,6 +33,11 @@ ALIAS_DOMAINS=["domain1.com", "domain2.com"]
# transactional email is sent from this email address
SUPPORT_EMAIL=support@sl.local
SUPPORT_NAME=Son from SimpleLogin
# in case sender is different than SUPPORT_EMAIL
SENDER=sender@sl.local
# all emails sent to sender are stored in this folder
SENDER_DIR=/tmp
# to receive general stats.
# ADMIN_EMAIL=admin@sl.local