On Mon, Apr 21, 2003 at 10:42:42PM +0200, Björn Lindström wrote:
I am trying to use this rule to send mail that SpamAssassin gives a
"spam-level" of at least 7 to /dev/null
:0
* ^X-Spam-Level: \*{7,}
/dev/null
The headers that should match can look like this:
X-Spam-Level: ************
However, the nasty spam just slips right through. Does anyone have an
idea about what I have missed here?
Yes. You have missed that procmail does not do extended regexes
of the type
char{num}
You need
* ^X-Spam-Level: \*\*\*\*\*\*\*
You could also do it this way:
MATCH
:0
* -6^0 ^X-Spam-Level: \/.*
* 1^1 MATCH ?? [*]
/dev/null
--
dman
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail