procmail
[Top] [All Lists]

Using tthe return status of a program to filter

2002-08-23 13:49:13
I'm working on bogofilter, a Bayesian spam filter.  I wabt to document
how it can be integrated into a procmail setup.  So:

Suppose I have a utility named bogofilter that tests its standard input and
returns 0 for spam, 1 for nonspam, How do I write a recipe that
directs mail getting a 1 return value to a spam box?

Yes, I have read the man pages.  
-- 
                <a href="http://www.tuxedo.org/~esr/";>Eric S. Raymond</a>

We shall not cease from exploration, and the end of all our exploring will be
to arrive where we started and know the place for the first time.
        -- T.S. Eliot
_______________________________________________
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>