procmail
[Top] [All Lists]

Re: Filtering attachments

2001-06-24 08:09:41
Stephen Patterson asked about John Conover's code,

| What does the line starting * -3^0 do?

It doesn't just start that way; that's the whole line.  I'm not just
correcting you, Stephen; that part is important.

The line subtracts three from the score unconditionally (technically, it adds
-3 to the score if the search area has at least one occurrence of the null
string).  That way a message can score as much as +3 from the remaining
weighted conditions and still come out with a non-positive score and be con-
sidered a non-match; it forgives up to three points scored by the other con-
ditions, like a golfer's handicap.

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