On 11/20/26 09:21, Juergen Dollinger wrote:
Mark Sapiro wrote:
Or, in
mailman shellyou can do>>> token = 'the original hex token' >>> getUtility(IPendings).confirm(token, expunge=True) >>> commit()There is no error message if I do this. But the problem remains with next cron.daily I get a reminder (which does not contain the original token).
Because that's not the correct token. In mailman shell you can do
>>> pendings = getUtility(IPendings)
>>> for token, data in pendings.find():
... if (data['type'] == 'held message' and
... data['list_id'] == 'list.example.com':
... pendings.confirm(token, expunge=True)
...
>>> commit()
Note that list.example.com should be the actual list_id, i.e. the list
posting address with @ replaced by .. Note also that this will
possibly leave an orphaned message in the message store and orphaned
workflows and requests, but task runner will clean that up.
If you want to just see what it will delete, replace the
pendings.confirm(token, expunge=True)
line with
print(f'{token} {data}')
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan