Add option always_add_missing_headers (#31)

(adding From:, To:, Date: or Message-ID: headers when not present,
cf. http://www.postfix.org/postconf.5.html#always_add_missing_headers)

This option always_add_missing_headers is set by the environment
variable ALWAYS_ADD_MISSING_HEADERS (default: no)
This commit is contained in:
Erik Martin-Dorel
2020-08-24 21:40:09 +02:00
committed by GitHub
parent 9603b4070d
commit c55bcb70ac
3 changed files with 6 additions and 1 deletions

View File

@ -21,4 +21,7 @@
#SMTP_NETWORKS=
# Optional: Set this to a mounted file containing the password, to avoid passwords in env variables.
#SMTP_PASSWORD_FILE=
#SMTP_PASSWORD_FILE=
# Optional: Set this to yes to always add missing From:, To:, Date: or Message-ID: headers.
#ALWAYS_ADD_MISSING_HEADERS=yes