On Sun, 16 Feb 2003, Ruud H.G. van Tol wrote:
Don't think I've ever seen a message with less than three Received:
headers.
Ignore the familiar recent ones, then start counting.
I'm not sure what you mean by this. I suspect I could construct a recipe
that counted the Received: lines based on the examples Don supplied this
morning; but do you have on that does that?
What you could do is concatenate a letter to a variable, like
{ SPAMRATE=$SPAMRATE"G" }
where each letter stands for some feature or severity. An 'A' could
mean: strong evidence against spam, a 'Z' would then mean: certainly
spam.
Silly probably, but actually considered producing a binary score by
concatenating 1's in a variable - 1 = 1 11=3 111=5, etc. :) Or obtain the
score by checking the length of the variable. Not sure how to do that from
within procmail, though.
- fleet -
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail