mirror of
https://github.com/simple-login/app.git
synced 2024-09-27 20:31:30 +02:00
add POSTFIX_PORT param
This commit is contained in:
parent
57e3e29e70
commit
817e4e0f87
@ -69,6 +69,11 @@ 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
|
||||||
|
|
||||||
|
# allow using a different postfix port, useful when developing locally
|
||||||
|
POSTFIX_PORT = None
|
||||||
|
if "POSTFIX_PORT" in os.environ:
|
||||||
|
POSTFIX_PORT = int(os.environ["POSTFIX_PORT"])
|
||||||
|
|
||||||
# Use port 587 instead of 25 when sending emails through Postfix
|
# Use port 587 instead of 25 when sending emails through Postfix
|
||||||
# Useful when calling Postfix from an external network
|
# Useful when calling Postfix from an external network
|
||||||
POSTFIX_SUBMISSION_TLS = "POSTFIX_SUBMISSION_TLS" in os.environ
|
POSTFIX_SUBMISSION_TLS = "POSTFIX_SUBMISSION_TLS" in os.environ
|
||||||
|
@ -134,3 +134,7 @@ FACEBOOK_CLIENT_SECRET=to_fill
|
|||||||
# Disable onboarding emails
|
# Disable onboarding emails
|
||||||
# For self-hosted instance
|
# For self-hosted instance
|
||||||
DISABLE_ONBOARDING=true
|
DISABLE_ONBOARDING=true
|
||||||
|
|
||||||
|
# By default use postfix port 25. This param is used to override the Postfix port,
|
||||||
|
# useful when using another SMTP server when developing locally
|
||||||
|
# POSTFIX_PORT=1025
|
Loading…
Reference in New Issue
Block a user