13 Apr
2023
13 Apr
'23
6:05 p.m.
On 4/13/23 05:07, Eric Vyncke wrote:
Thanks in advance for any hint to solve this issue (I have held messages that I would love to accept)
You can accept them via mailman shell. E.g., to accept all held messages for a list
$ mailman shell -l list@example.com
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.
The variable 'm' is the list.example.com mailing list
>>> from mailman.app.moderator import handle_message
>>> requestsdb = IListRequests(m)
>>> for req in requestsdb.held_requests:
... handle_message(m, req.id, Action.accept)
...
>>>
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan