Andrew - The script had:
DELETE_MAILMAN_USER = False
When I set it to True, it got rid of the orphaned email addresses. Thanks! - Mark
On 4/25/2023 6:02 AM, Andrew Hodgson wrote:
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.