Re: [exim] ACL to reject spam

Top Page
Delete this message
Reply to this message
Author: Michael Johnson
Date:  
To: exim-users
Subject: Re: [exim] ACL to reject spam
On Jul 13, 2006, at 4:41 PM, Odhiambo G. Washington wrote:

> Why don't you try to read the documentation on this feature and
> understand first? It's documented at this url:


I see you've assumed I didn't read that section of the docs. That is
not the case. I did, but I still don't really understand what's
going on with the math. To make my question clearer:

Would the line:

condition      = ${if >{$spam_score_int}{400}{10}{0}


be equal to:

condition      = ${if >{$spam_score_int}{40}{1}{0}


or am I going about the logic the wrong way?

> PS: If, according to SpamAssassin, the score was 5, that is equivalent
> to $spam_score_int of 50 (that it, multiply by a factor of 10).
>
> spam_score_int = spam_score * 10


So I need to get the 4 to equal 40. Easy enough with the first
number. In fact, that's what exists. The problem is when the
spam_score is greater than 100, or spam_score_init is greater than
1000. What are the next two numbers for then? The 1 and 0 were some
sort of multiplier I thought. I didn't see anything in that section
of the documentation which would let me know how that works.

Maybe it's like this past weekend when I was looking for the
watermelon in the refrigerator. I couldn't find it. My girlfriend
walked up, pulled out the container I had put the cut up watermelon
in the day before. I was looking for a big green melon and not a big
white tub of red chunks. I think I'm just getting old. =-)

-Michael

-----------------------------------
The most beautiful thing we can experience is the mysterious.  It is  
the source of all true art and science.
             --Albert Einstein