Thanks, you are right. I removed the email and password from settings.py, and it works now.
Am Mittwoch, 21. Dezember 2022, 14:13:31 CET schrieb Odhiambo Washington:
On Wed, Dec 21, 2022 at 4:04 PM Eggert Ehmke via Mailman-users < mailman-users@mailman3.org> wrote:
I get this error when a user tries to use the "forgot password" function in hyperkitty. Obviously the exception is thrown when the send_mail function is called in
/opt/mailman/venv/lib/python3.9/site-packages/allauth/account/adapter.py
In settings.py I have:
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = 'localhost' EMAIL_PORT = 25 EMAIL_HOST_USER = 'valid email' EMAIL_HOST_PASSWORD = 'valid password'
What can I do to debug further?
Is it necessary to have the authentication details when communicating with localhost? Most MTAs do not require ASMTP on port 25 because that port is meant for MTA-to-MTA communication usually. If you must use authentication, please configure it on a different port (like 587) and ensure you only advertise for ASMTP on that port. For now, just comment out the EMAIL_HOST_USER and EMAIL_HOST_PASSWORD and restart whatever needs to be restarted and all shall be okay. I suspect that you do not advertise AUTH to localhost, and neither do you (or should you) enforce auth on port 25.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message /JLVOTE7IB4T2JPB7FM2Y2GEVFR3T73EE/
This message sent to eggert@eehmke.de