25 Apr
2023
25 Apr
'23
10:02 a.m.
Mark London wrote:
I added some email addresses manually to a mailing list and then removed them. But now I can't find how to totally remove them from mailman3. They show up in the Users list.
You may find this script useful: https://www.msapiro.net/scripts/clean_users.py
I have it running in a cronjob. Thread discussing the script can be found here:
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/G...
TLDR you end up with orphaned Django users both from when users subscribe/unsubscribe and due to spam signups using the Postorius form which never get confirmed.
Thanks. Andrew.