Add NOREPLY setting

This commit is contained in:
Son NK 2020-11-14 15:53:20 +01:00
parent 2c46d1db8e
commit 3489e41fdb
1 changed files with 4 additions and 1 deletions

View File

@ -350,5 +350,8 @@ if PGP_SENDER_PRIVATE_KEY_PATH:
with open(get_abs_path(PGP_SENDER_PRIVATE_KEY_PATH)) as f:
PGP_SENDER_PRIVATE_KEY = f.read()
# the signer address that signes outgoing encrypted emails
# the signer address that signs outgoing encrypted emails
PGP_SIGNER = os.environ.get("PGP_SIGNER")
# emails that have empty From address is sent from this special reverse-alias
NOREPLY = os.environ.get("NOREPLY", f"noreply@{EMAIL_DOMAIN}")