>-----Original Message-----
>From: Matt Kettler [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, May 11, 2005 12:39 PM
>To: Chris Santerre
>Cc: 'Stuart Gall'; users@spamassassin.apache.org
>Subject: Re: Custom Rule question
>
>
>Chris Santerre wrote:
>
>>Eval solution: Count hits, yes. Change score based on hits, no. 
>>  
>>
>Chris, using an eval solution you could do ranges, much like 
>bayes does.
>It would be computationally efficient if done the way bayes does it too
>(storing the result on the first call, and only checking value on each
>subsequent one).
>
>However, this is in the "very advanced" realm.

Correct. But I believe JM of Theo explained that by the very nature of Perl,
it couldn't return a value for a score. So the eval would only have one
score. The closet one could come would be Evals of Minimums. Where by if the
eval found at least X amount of Y, then return True. 

This kind of eval would easily be gamed by a spammer. 

I wanted to see some sort of new ruletype that would allow you to not only
pass Y, but also X to the eval. Something like:

evalmin booty /booty/i
count booty 4
describe booty Too much booty found in spam! Big Booty!
score booty 10.0

--Chris 

Reply via email to