Works for me too! Thank you.
Only the path to python is #! /opt/mailman/venv/bin/python
In my installation.
Cheers, Eggert
Am Dienstag, 25. April 2023, 22:51:52 CEST schrieb Mark London via Mailman-users:
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 /GH4K42T66FU5PBHJH6ZDQEIUTXVDSLOC/
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.
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 /K3PO2XMCDR2342GVPHEQJNZPVPEPY6R4/
This message sent to eggert@eehmke.de
Mailman's content filtering has removed the following MIME parts from this message.
Replaced multipart/alternative part with first alternative.