On 3/17/22 12:25, Quanah Gibson-Mount wrote:
I've done nothing in regard to this user. Neither command returns anything.
Well, something has deleted the user, but ...
If the user is gone, you should be able to replace
... sub_mgr.confirm(token)
in the above with
... wfm = getUtility(IWorkflowStateManager) ... pendings.confirm(token, expunge=True) ... wfm.discard(token)
to clear the pending subscription and workflow and then be able to mass subscribe the user.
I did this, and can confirm that they no longer show up in the list of pending subscriptions via the mailman shell interface for that list.
However, if I go to mass subscribe them via the interface, I get:
HTTP Error 409: b'Subscription request already pending'
I don't understand. If there is no entry for that address when you do
>>> for token, data in pendings.find(pend_type='subscription'):
... if data['token_owner'] != 'subscriber':
... continue
... if data['email'] != 'user@example.com':
... continue
... print(data['email'])
...
You should not be getting that 'Subscription request already pending' response.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan