From 405e630278e0e585ee0fed6ddb03f1b23e189619 Mon Sep 17 00:00:00 2001 From: Juan Luis Baptiste Date: Wed, 13 May 2015 01:07:20 -0500 Subject: [PATCH] Set myhostname and myorigin, some providers like 1&1 will do MX lookups on them so they need to be valid. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7ee9210..b16cdf3 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ The following env variables need to be passed to the container: * `SMTP_SERVER` Server address of the SMTP server to use. * `SMTP_USERNAME` Username to authenticate with. * `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: