On Sun, Sep 04, 2005 at 08:33:48PM -0700, Gary Funck wrote:
Something like this:
:0:
* $ ? $HOME/bin/my_perl_script_that_returns_non_zero_if_spam_is_detected
spam.mbox
Note: the use of $ above is optional. I included it, because I
wanted the value of the HOME environment variable to be expanded.
Unnecessary.
On linking /usr/bin/true to $HOME/bin, an running this recipe
as a test,
:0
* ? $HOME/bin/true
{ foo }
I get:
procmail: Executing "/net/u/1/d/dman/bin/true"
procmail: Match on "/net/u/1/d/dman/bin/true"
procmail: Assigning "foo"
Dallman
____________________________________________________________
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