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.
cheers, Chris
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
mv mbox whatever
cat whatever | formail -s procmail
its maildir not mbox, but it should still be possible to do the same
sort of thing.
Something along the lines of...
cd Mail/inbox/ for msg in cur/* ; do cat "$msg" | procmail ; done
Or p'raps...
cd Mail/inbox/ for msg in cur/* ; do cat "$msg" | formail -s procmail ; done
Tim
