n formail's command line when splitting mailboxes that may
contain bogus CL: fields:
formail -Y -s procmail file.new
(If you don't specify a program to invoke on each message when splitting,
formail will just send the message to its stdout.)
Does that all make sense?
Philip Guenther
ipes should have the 'r'
flag, as maildir format doesn't need embedded "From " lines to be escaped.
Also, placing the 'r' flag on the second of the nested recipes will
marginally speed things by saving procmail a tiny bit of work.
:0
* conditions
{
:0 r
foldername/tmp/$XXX
:0 air
|mv foldername/tmp/$XXX foldername/new/$XXX
}
Philip Guenther
to the cat, but combine the
actions:
:0 w
* conditions
|cat >foldername/tmp/$XXX && \
mv foldername/tmp/$XXX foldername/new/$XXX
The middle recipe will be faster though...
Philip Guenther