From 7d41168e18936d60783c9e9550f091cdf6b59ed0 Mon Sep 17 00:00:00 2001 From: Abhilash Raj Date: Thu, 20 Dec 2018 22:35:46 -0800 Subject: [PATCH] Add MTA settings for Django. MTA settings are needed for Django, in addition to Mailman Core. --- README.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8972f1d..b17a4a5 100644 --- a/README.md +++ b/README.md @@ -201,6 +201,15 @@ variables mentioned above (`MAILMAN_ADMIN_USER` & `MAILMAN_ADMIN_EMAIL`), no pas is set for your admin account. To set a password, plese follow the "Forgot Password" link on the "Sign In" page. +To configure the mailman-web container to send emails, add this to your `settings_local.py`.: +``` +EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' +EMAIL_HOST = '172.19.199.1' +EMAIL_PORT = 25 +``` +This is required in addition to the [Setup your MTA](#setting-up-your-mta) section below, +which covers email setup for Mailman Core. + For more details on how to configure this image, please look at [Mailman-web's Readme](web/README.md) @@ -235,12 +244,8 @@ While the above configuration will allow you to run the images and possibly view the Web Frontend, it won't be functional until it is fully configured to to send emails. -To configure the mailman-web container to send emails, see these [configuration -settings][15]. - - -To configure the mailman-core container to send emails, see the Setting your MTA -section below. +To configure the mailman-core container to send emails, see the [Setting your MTA +section below](#setting-up-your-mta). Running =======