From ce934c2f9354a2dff6236fab7cc3534fdf6992bd Mon Sep 17 00:00:00 2001 From: Juan Luis Baptiste Date: Wed, 6 Mar 2019 21:20:19 -0500 Subject: [PATCH] Added a note about exposing SMTP_PORT value --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d3de115..52cb677 100644 --- a/README.md +++ b/README.md @@ -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 \