procmail
[Top] [All Lists]

scoring

2002-11-10 17:11:23
I was trying to put together a different procmail set of rules for scoring rather than filtering headers all the time.

right now I have to do this:


:0fw: foo
| $BOGOFILTER -p -e -u | $SPAMASSASSIN -a

:0c
* ^X-Spam-Status: Yes
* ^X-Bogosity: Yes
| $SPAMASSASSIN -r -w postmaster(_at_)$MYDOMAIN


I would like to be able to reduce this scoring with a value of 1 for each of bogofilter and spamassassin. Resulting scores of 1 would be filtered into a folder. Resulting scores of 2 would be discarded.

I also would like to add in additional criteria to eventually move the discarding score to 3 or more.

But I'm not seeing how to get the result of spamassassin to be registered as a scoring value...

:0
* 1^0 |spamassassin -e -d
{ }


but everything comes back with a 1 no matter what.
---
Exceptions prove the rule, and wreck the budget.
                -- Miller


_______________________________________________
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>