On 4/25/23 6:59 AM, Mark Sapiro wrote:
On 4/25/23 3:02 AM, Andrew Hodgson wrote:
You may find this script useful: https://www.msapiro.net/scripts/clean_users.py
I will modify the script to enable deleting Mailman users with no memberships even if they aren't Django users and post here when it's done.
The script at https://www.msapiro.net/scripts/clean_users.py has been updated. As before, it has settings to control whether Django users are deleted if there is a corresponding Mailman user with no memberships or only if there is no corresponding Mailman user, and whether or not Mailman users with no memberships are deleted.
The difference is when deleting Mailman users it will now delete Mailman users with no memberships whether or not there is a corresponding Django user.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan