I have run clean_users.py with: DELETE_MAILMAN_USER = True DELETE_DJANGO_IF_MAILMAN = True
However, when I go to https://mm3-site/mm/lists/listname.mm3-site/members/nonmember/ I still have hundreds of users listed despite the script having run and it showed hundreds of addresses removed. What might be the issue? I expect to NOT find anything listed as nonmembers.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
On 3/5/25 6:13 PM, Odhiambo Washington via Mailman-users wrote:
I have run clean_users.py with: DELETE_MAILMAN_USER = True DELETE_DJANGO_IF_MAILMAN = True
However, when I go to https://mm3-site/mm/lists/listname.mm3-site/members/nonmember/ I still have hundreds of users listed despite the script having run and it showed hundreds of addresses removed. What might be the issue? I expect to NOT find anything listed as nonmembers.
That's expected. That script does not remove anything for a user that has any list memberships with any role. It could be modified to remove the Django and Mailman users whose only memberships are with role nonmember. That modification is left as an exercise for the reader.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
I just ran the clean_users.py script and it removed user email addresses from Django. I can still find these addresses however using Postorius which show
Subscriptions User has no subscriptions. Ownerships User has no ownerships.
Why are they still listed then? How can I purge my system of all instances of unsubscribed registrants please?
~Christian
On 12/8/25 07:37, Christian Stalberg via Mailman-users wrote:
I just ran the clean_users.py script and it removed user email addresses from Django. I can still find these addresses however using Postorius which show
Subscriptions User has no subscriptions. Ownerships User has no ownerships.
Why are they still listed then? How can I purge my system of all instances of unsubscribed registrants please?
Postorius is showing you Mailman users. If you ran the clean_users.py script with default settings, it only removed Django users. To delete Mailman users with no subscriptions or ownerships, you have to set DELETE_MAILMAN_USER = True
As it says, # Set True to delete Mailman users that have no memberships with any role. # Set False to not delete Mailman users.
You can change the setting for DELETE_MAILMAN_USER to True and run it again and it will delete those Mailman users.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Christian Stalberg -
Mark Sapiro -
Odhiambo Washington