procmail
[Top] [All Lists]

Re: Post-processing of a Maildir/ ?

2001-05-28 20:29:57
I gave Jaime a rather bad answer, didn't I?

|  cd wherever
|  cat */* | formail -fs procmail

That would have to be -defs, not just -fs, wouldn't it, if the messages in
the files have neither postmark lines nor trailing blank lines.

Better all told,

#!/bin/sh
cd wherever
for message in */*
do procmail < $message
done

All formail was doing was undoing cat, so it was easier to leave both out.
I'm too used to dealing with mboxes, where there is no telling how many
messages might be in each.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>