Add function to load secret/password from file for security (#25)
New feature: Load SMTP password from file to avoid using env variables.
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
# Mandatory: Username to authenticate with.
|
||||
#SMTP_USERNAME=
|
||||
|
||||
# Mandatory: Password of the SMTP user.
|
||||
# Mandatory: Password of the SMTP user. (Not needed if SMTP_PASSWORD_FILE is used)
|
||||
#SMTP_PASSWORD=
|
||||
|
||||
# Mandatory: Server hostname for the Postfix container. Emails will appear to come from the hostname's domain.
|
||||
@ -19,3 +19,6 @@
|
||||
|
||||
# Optional: This will add a header for tracking messages upstream. Helpful for spam filters. Will appear as "RelayTag: ${SMTP_HEADER_TAG}" in the email headers.
|
||||
#SMTP_NETWORKS=
|
||||
|
||||
# Optional: Set this to a mounted file containing the password, to avoid passwords in env variables.
|
||||
#SMTP_PASSWORD_FILE=
|
Reference in New Issue
Block a user