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:
committed by
GitHub
parent
9603b4070d
commit
c55bcb70ac
@@ -53,6 +53,7 @@ The following env variable(s) are optional.
|
||||
* `SMTP_PASSWORD_FILE` Setting this to a mounted file containing the password, to avoid passwords in env variables. Used like
|
||||
-e SMTP_PASSWORD_FILE=/secrets/smtp_password
|
||||
-v $(pwd)/secrets/:/secrets/
|
||||
* `ALWAYS_ADD_MISSING_HEADERS` This is related to the [always\_add\_missing\_headers](http://www.postfix.org/postconf.5.html#always_add_missing_headers) Postfix option (default: `no`). If set to `yes`, Postfix will always add missing headers among `From:`, `To:`, `Date:` or `Message-ID:`.
|
||||
|
||||
To use this container from anywhere, the 25 port or the one specified by `SMTP_PORT` needs to be exposed to the docker host server:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user