On Mon, Nov 22, 2004 at 11:10:18PM -0500, Bob George wrote:
mailarch(_at_)xy1(_dot_)org wrote:
I'm a great procmail user, but I have performance problems:
That sounds like either a medical problem, or one that deserves more
analysis before deciding that procmail is at fault. How are you using
procmail? Are you calling external programs?
Are you sure it's not your recipes that might stand optimization?
Ok here my problem:
I use the mharc and mhonarc tools which use formail and procmail in this way:
formail -s procmail procmailrc.mharc < file.mbox
The file.mbox contains more than 10 000 messages!
This means that formail will pipe(), fork() and exec() procmail 10 000 times!!!
It's very slow!
What I need would be that:
- support for multiple messages, currently procmail reads only one message from
stdin,
so formail is no more needed with my problem.
- support for the bison/yacc tools to precompile the procmailrc file in a C
file, and to compile the regex rules.
This would be great, because it procmail would be thousand times faster.
My problem is I tired to implement the support for multiple messages, but the
source code is a little very complex for me
to understand how all work.
So perhaps the author of Procmail would be motivated to implement this 2
options? :-)
--
saf
http://Archivum.info/ - Administrator
____________________________________________________________
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