[Mailman-Users] Phantom moderation pending requests & heldmsg files
Mark Sapiro
mark at msapiro.net
Wed May 7 22:59:43 CEST 2008
Chris Waltham wrote:
>Can you think of an easy way to discard all the messages in
>request.pck _except those_ which still have tokens remaining in
>pending.pck?
If you're willing to accept that the only messages that have unexpired
tokens left in pending.pck are those newer than PENDING_REQUEST_LIFE
which defaults to 3 days, you can use the method suggested in the FAQ
$ cd ~mailman
$ find data -name heldmsg-<listname>-\* -print | xargs bin/discard
but make it
$ cd ~mailman
$ find data -name heldmsg-\* -mtime +3 -print | xargs bin/discard
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list