Update README.md

This commit is contained in:
turboaaa 2019-01-16 12:38:15 -05:00 committed by GitHub
parent e7eb0a9d8e
commit dff4a29a81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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" \