its maildir not mbox, but it should still be possible to do the same sort of thing. On Tue, 10 Jun 2003 23:21:30+1200 Timothy Musson <[EMAIL PROTECTED]> wrote:
> Chris Bayley, 2003-06-10 19:33:40 +1200: > > I have looked at man pages and a some howtos but I can't yet > > determine how I can use procmail to sort existing messages in an > > arbitary maildir rather than sorting incoming messages.... > > I have 16K+ messages in my inbox and would like to run procmail over > > it to sort out the wheat/chaffe > > Any quick pointers would be appreciated. > > My /usr/share/doc/procmail/QuickStart file (maybe Debian specific, I > don't know) contains this: > > <quote> > > If you have to refilter an old mail folder according to your current > ~/.procmailrc file, you may do the following: > > cat mbox | formail -s procmail > > But of course if your mbox file is the target of a procmail recipe you > should do this instead: > > mv mbox whatever > cat whatever | formail -s procmail > > See formail(1) for details. > > </quote> > > (blah blah backup your mail first blah blah blah) > > > Tim > -- > Timothy Musson - [EMAIL PROTECTED] > http://homepages.ihug.co.nz/~trmusson/ > > --
