On 2/8/21 1:22 AM, r.woithe@callassoftware.com wrote:
Hello,
i did try the script and unfortunately there is a problem. The script is deleting django-users are not member,nonmember ... of any lists.But thats not the point. Its ok if a user want to be only a django-user to see the archives and work with them.
If a user sign's up for an account at /accounts/signup/ and then confirms her address, she will then be a Mailman user with a user and an address record even though not a member of any lists.
The script should delete django-users who dont confirm your email address.
Change one line in the script from
if mm_user is None or len(list(mm_user.memberships.members)) == 0:
to
if mm_user is None:
And it will do what you want.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan