On Sunday, Jul 20, 2003, at 10:00 Canada/Mountain, Phil Hilton wrote:
I found a procmail recipe on a website which is supposed to dump all
mail with a spam assassin score higher than X. It attempts to score
the message at -X, and then adds in the score SpamAssassin gave it to
see if it comes out positive. However, I think there is a syntax error
in the regex usage. Can procmail actually capture a regex match like
this? And is it really accessed via $MATCH? My logging implies that
the "MATCH" variable is empty. TIA.
It would seem the easier way to do this would be to count the
X-Spam-Level:
:0
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*
/dev/null
--
"As God as my witness, I though turkey's could fly," Arthur Carlson,
WKRP in Cincinnati
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail