procmail
[Top] [All Lists]

RE: Ways to add new features

2005-11-14 19:43:24

From: Ian Zimmerman
Sent: Monday, November 14, 2005 4:43 PM
To: procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE

Isn't that a red herring?  You'd still need to create a new process
even if it were the same program.


I was thinking that formail would notice the reference to procmail,
and simply call an internal entry point (procmail's main(), if you will).
The analogy here is bash's support for builtin 'test', instead of
proc-ing /usr/bin/test.

I'd have nothing against adding syntax sugar to procmail to do what
formail already does, but I think there would still be value in a
separate formail program.


formail would still be separate, but simply an alias (hard link)
to procmail.  This way formail can invoke procmail without fork(),
and likewise procmail can evalue `formail ...` without
creating a new process.


____________________________________________________________
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

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