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 <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list [email protected] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
