On 4/21/22 04:32, lists--- via Mailman-Users wrote:
We had a mail loop on one of our lists and ended up with over 51k messages in
pending (held due to post not form a list member)
Trying to delete them from the web UI will take forever, as the largest
pagination you can view is 200 at a time.
Tried to delete them from the Python interactive shell, but it looks like the
API times out after a while.
Is there another way to delete all these unwanted held posts?
You could try
bin/discard data/heldmsg-LISTNAME-*
If that times out, a bash script like
for file in `ls data/heldmsg-LISTNAME-*`; do
bin/discard $file
done
should do it.
--
Mark Sapiro <m...@msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/