On Mon, Jul 29, 2024 at 5:26 PM Roland Giesler via Mailman-users < mailman-users@mailman3.org> wrote:
* |use_tls|:|EMAIL_USE_TLS|
<
https://docs.djangoproject.com/en/5.0/ref/settings/#std-setting-EMAIL_USE_TL...
* |use_ssl|:|EMAIL_USE_SSL|
<
https://docs.djangoproject.com/en/5.0/ref/settings/#std-setting-EMAIL_USE_SS...
* |timeout|:|EMAIL_TIMEOUT|
<
https://docs.djangoproject.com/en/5.0/ref/settings/#std-setting-EMAIL_TIMEOU...
* |ssl_keyfile|:|EMAIL_SSL_KEYFILE|
<
https://docs.djangoproject.com/en/5.0/ref/settings/#std-setting-EMAIL_SSL_KE...
* |ssl_certfile|:|EMAIL_SSL_CERTFILE|
<
https://docs.djangoproject.com/en/5.0/ref/settings/#std-setting-EMAIL_SSL_CE...
This all goes in your Django settings which from other posts I gather is /etc/mailman3/mailman3-web.py. I'm guessing you are using the Debian packages and that's where the package puts the Django settings.
I added the following to my mailman3-web.py:
EMAIL_USE_SSL = True EMAIL_HOST = 'box2.gtahardware.co.za' EMAIL_PORT = '465' EMAIL_HOST_USER = 'roland@giesler.za.net' EMAIL_HOST_PASSWORD = '<redacted>'
and fixed the "DEFAULT_FROM_EMAIL" and the signup email gets sent successfully!
Can you please share what was logged by mailman3-web during the email-sending process?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]