On 2/8/26 01:22, Stephen J. Turnbull wrote:
Mark Sapiro writes:
> >>> for nonmember in m.nonmembers.members:
> ... nonmember.unsubscribe()
> ...
> >>> commit()
This won't delete the User or Address objects though, will it?
No, it won't, but there is a script at
https://www.msapiro.net/scripts/clean_users.py that will do that if you set
DELETE_MAILMAN_USER = True
in the script and run it after removing the nonmembers from the list.
--
Mark Sapiro <[email protected]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
_______________________________________________
Mailman-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at:
https://lists.mailman3.org/archives/list/[email protected]/message/4UI4ZCCDEA44NIEAG6AHUZKINWDKJL7X/
This message sent to [email protected]