Add MTA settings for Django.

MTA settings are needed for Django, in addition to Mailman Core.
This commit is contained in:
Abhilash Raj
2018-12-20 22:35:46 -08:00
parent 62e4549ea5
commit 7d41168e18

View File

@@ -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" is set for your admin account. To set a password, plese follow the "Forgot Password"
link on the "Sign In" page. 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 For more details on how to configure this image, please look at [Mailman-web's
Readme](web/README.md) 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 the Web Frontend, it won't be functional until it is fully configured to to send
emails. emails.
To configure the mailman-web container to send emails, see these [configuration To configure the mailman-core container to send emails, see the [Setting your MTA
settings][15]. section below](#setting-up-your-mta).
To configure the mailman-core container to send emails, see the Setting your MTA
section below.
Running Running
======= =======