- Mark Sapiro:
$ grep ^EMAIL settings.py EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = 'localhost' EMAIL_PORT = 25
but is this perhaps overridden in a settings_local.py file?
I don't have a local settings file. I cloned the suite from GitLab[1] master branch and modified the existing settings.py, based on Mailman's documentation.
[1] https://gitlab.com/mailman/mailman-suite.git
I just verified that EMAIL_BACKEND is not redefined anywhere:
$ grep -r 'mail\.backends' . Binary file ./__pycache__/settings.cpython-38.pyc matches ./settings.py:EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' ./settings.py:# EMAIL_BACKEND = 'django.core.mail.backends.filebased.EmailBackend'
I commented out the "if DEBUG == True" lines, which explains match number three. As far as I can see, the mail backed definition for Django is as it should be.
I could provide the differences between my settings.py and the Git HEAD version if you think that might help.
-Ralph