On 27-Aug-2007, at 08:53, M. Fioretti wrote:
cd /the/maildir/base/directory/
for file in cur/*
do
/usr/bin/formail -s /usr/bin/procmail -m test/rcfile.rc < $file
Erm, have you read the man page for formail?
DESCRIPTION
formail is a filter that can be used to force mail into
mailbox format,
perform `From ' escaping, generate auto-replying headers,
do simple
header munging/extracting or split up a mailbox/digest/
articles file.
The mail/mailbox/article contents will be expected on stdin.
and
-s The input will be split up into separate mail messages,
and piped
into a program one by one...
What exactly do you think you're using formail for and more
specifically, even if you did use formail, why would you use -s?
You don't have mailboxes. formail doesn't apply.
/usr/bin/procmail -m tes/rcfile.rc < $file
should do nicely
--
And now, the rest of the story
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail