Added a note about exposing SMTP_PORT value

This commit is contained in:
Juan Luis Baptiste 2019-03-06 21:20:19 -05:00
parent d0c793e467
commit ce934c2f93
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ 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.
To use this container from anywhere, the 25 port needs to be exposed to the docker host server:
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:
docker run -d --name postfix -p "25:25" \
-e SMTP_SERVER=smtp.bar.com \