diff --git a/README.md b/README.md index c1ff4df..6378993 100644 --- a/README.md +++ b/README.md @@ -211,6 +211,10 @@ These are the variables that you MUST change in your docker-compose.yaml before - `DATABASE_CLASS`: Default value is `mailman.database.sqlite.SQLiteDatabase`. The values for this can be found in the mailman's documentation [here][11]. +- `SMTP_HOST` : outgoing host for SMTP connections +- `SMTP_PORT` : use this port. 25, 587, whatever your host asks for. +- `SMTP_HOST_USER`: authenticate this user +- `SMTP_HOST_PASSWORD`: and use this password For more details on how to configure this image, please look [Mailman-core's Readme](core/) diff --git a/core/docker-entrypoint.sh b/core/docker-entrypoint.sh index 80aa6c7..21f700c 100755 --- a/core/docker-entrypoint.sh +++ b/core/docker-entrypoint.sh @@ -142,6 +142,8 @@ lmtp_host: $MM_HOSTNAME lmtp_port: 8024 smtp_host: $SMTP_HOST smtp_port: $SMTP_PORT +smtp_user: $SMTP_HOST_USER +smtp_pass: $SMTP_HOST_PASSWORD configuration: python:mailman.config.exim4 EOF @@ -163,6 +165,8 @@ lmtp_host: $MM_HOSTNAME lmtp_port: 8024 smtp_host: $SMTP_HOST smtp_port: $SMTP_PORT +smtp_user: $SMTP_HOST_USER +smtp_pass: $SMTP_HOST_PASSWORD configuration: /etc/postfix-mailman.cfg EOF