
May 7, 2008
8:59 p.m.
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@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan