On Thu, Dec 20, 2018, at 1:30 PM, brian@emwd.com wrote:
Abhilash Raj wrote:
On Thu, Dec 20, 2018, at 10:25 AM, brian(a)emwd.com wrote:
I am using Exim as the MTA. I followed the instructions located at:
https://github.com/maxking/docker-mailman
In particular the "Setting up your MTA"
Are you saying I need to do something with Django because your documentation at github makes no reference to that? Where would I find the settings.py file? I used your image to install Mailman3. FYI I am referencing the "# To be added to Django's settings.py" instructions at
The documentation at Github does makes reference to it. It might not be in the most visible manner, which I have opened an issue to fix1
To configure the mailman-web container to send emails, see these configuration settings. The documentation also mentions about the Django configuration file, settings_local.py (which is imported by settings.py at runtime). 3.
I have opened another issue to make that clear as well. 2
You can add all your Django related settings in
/opt/mailman/web/settings_local.py
if you using the images and docker-compose.yaml file from the above mentioned repo.http://docs.mailman3.org/en/latest/config-web.html#setting-up-email-required
Mailman-users mailing list -- mailman-users(a)mailman3.org To unsubscribe send an email to mailman-users-leave(a)mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
I am glad this is going to result in getting more clearer documentation.
I have added the following to /opt/mailman/web/settings_local.py
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = 'localhost' EMAIL_PORT = 25 EMAIL_HOST_USER = <username> EMAIL_HOST_PASSWORD = <password>
The question I have is where does the username and password come from?
It is for your MTA authentication. If you are using Exim, which is configured to not authenticate users from trusted hosts, you can skip them both.
It is useful when you are using some SMTP service like Amazon SES, Gmail etc.
-- thanks, Abhilash Raj (maxking)