mirror of
https://github.com/simple-login/app.git
synced 2024-11-11 10:06:11 +08:00
Add POSTFIX_SUBMISSION_TLS config
This commit is contained in:
parent
0055934fc3
commit
3410475223
1 changed files with 4 additions and 0 deletions
|
@ -59,6 +59,10 @@ POSTFIX_SERVER = os.environ.get("POSTFIX_SERVER", "240.0.0.1")
|
||||||
|
|
||||||
DISABLE_REGISTRATION = "DISABLE_REGISTRATION" in os.environ
|
DISABLE_REGISTRATION = "DISABLE_REGISTRATION" in os.environ
|
||||||
|
|
||||||
|
# Use port 587 instead of 25 when sending emails through Postfix
|
||||||
|
# Useful when calling Postfix from an external network
|
||||||
|
POSTFIX_SUBMISSION_TLS = "POSTFIX_SUBMISSION_TLS" in os.environ
|
||||||
|
|
||||||
if "OTHER_ALIAS_DOMAINS" in os.environ:
|
if "OTHER_ALIAS_DOMAINS" in os.environ:
|
||||||
OTHER_ALIAS_DOMAINS = eval(
|
OTHER_ALIAS_DOMAINS = eval(
|
||||||
os.environ["OTHER_ALIAS_DOMAINS"]
|
os.environ["OTHER_ALIAS_DOMAINS"]
|
||||||
|
|
Loading…
Reference in a new issue