Chris Bayley, 2003-06-11 21:52:39 +1200:
> Timothy Musson wrote:
> > Nick Rout, 2003-06-11 08:03:40 +1200:
> > > On Tue, 10 Jun 2003 23:21:30+1200 Timothy Musson wrote:
> > > > Chris Bayley, 2003-06-10 19:33:40 +1200:
> > > > > I have 16K+ messages in my inbox and would like to run
> > > > > procmail over it
[...lots snipped...]
> >  cd Mail/inbox/
> >  for msg in cur/* ; do cat "$msg" | formail -s procmail ; done

> What if say I want to remove the message from the original maildir if
> and only if procmail has found a recipe for it ?
> That way I can what the residue that falls through the cracks reduce
> as I add and refine procmail recipes.

Maybe I'm confused (usually am :), but it sounds to me like you want to
filter a maildir "in place", moving stuff that matches the recipes but
leaving the rest of the messages where they are. If so, I don't _think_
that's possible. But... I'm clueless about procmail and mail in general
- so I could easily be wrong. (I hope someone else jumps in...)

So, the closest thing I can suggest is just obvious: shove a copy of
your mail through procmail... tweak your ~/.procmailrc if necessary, and
repeat until sick of it :)


Tim
-- 
Timothy Musson  -  [EMAIL PROTECTED]
http://homepages.ihug.co.nz/~trmusson/

Reply via email to