Update README.md
This commit is contained in:
parent
e7eb0a9d8e
commit
dff4a29a81
@ -31,6 +31,9 @@ The following env variables need to be passed to the container:
|
||||
* `SMTP_PASSWORD` Password of the SMTP user.
|
||||
* `SERVER_HOSTNAME` Server hostname for the Postfix container. Emails will appear to come from the hostname's domain.
|
||||
|
||||
The following env variable(s) are optional.
|
||||
* `HEADER_TAG` This will add a header for tracking messages upstream. Helpful for spam filters. Will appear as "RelayTag: ${HEADER_TAG}" in the email headers.
|
||||
|
||||
To use this container from anywhere, the 25 port needs to be exposed to the docker host server:
|
||||
|
||||
docker run -d --name postfix -p "25:25" \
|
||||
|
Loading…
Reference in New Issue
Block a user