How to disable the password reset email, from being sent to an address not in our database?
Hi - Someone just requested a password reset, for an email address not in the mailman database. Mailman sent a message to them, but the email was invalid. I would like to disable an email from being sent to a user not in the mailman database. How to do this? Thanks. - Mark
Hello from MIT PSFC Mailing Lists!
You are receiving this e-mail because you or someone else has requested a password for your user account. However, we do not have any record of a user with email hwbaCXa@zTi.com in our database.
This mail can be safely ignored if you did not request a password reset.
On 11/26/25 11:21 AM, mrl@psfc.mit.edu wrote:
Hi - Someone just requested a password reset, for an email address not in the mailman database. Mailman sent a message to them, but the email was invalid. I would like to disable an email from being sent to a user not in the mailman database. How to do this? Thanks. - Mark
There are Mailman users and Django users. Mailman users are people known to Mailman as members, nonmembers, moderators or owners of lists. Django users are people who've signed up for web accounts. Django users don't have to be Mailman users and vice versa.
You can prevent Django-allauth from sending mail to unknown Django accounts with the ACCOUNT_EMAIL_UNKNOWN_ACCOUNTS setting - see https://docs.allauth.org/en/latest/account/configuration.html#sending-email
Also, there is an example script at https://www.msapiro.net/scripts/clean_users.py that can be used to remove Django users for which there is no corresponding Mailman user.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro -
mrl@psfc.mit.edu