On 5/19/26 2:54 AM, Andreas Vetter wrote:
Is there a script to discard all tose requests and get the members back on the list?
A mailman shell interaction like this should do it.
$ mailman shell Welcome to the GNU Mailman shell Use commit() to commit changes. Use abort() to discard changes since the last commit. Exit with ctrl+D does an implicit commit() but exit() does not.
pendings = getUtility(IPendings) for token, data in pendings.find(pend_type='unsubscription'): ... if data and data['list_id'] == 'the_list.example.com': ... pendings.confirm(token, expunge=True) ... commit()
In the above, replace the_list.example.com with the actual list_id (the list posting address with '@' replaced with '.')
If there are no other lists with pending unsubscriptions, you can omit
the and data['list_id'] == 'the_list.example.com' check.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan