Hello,

I was wondering if it is possible to assign a score to a custom rule that will 
evaluate to the value that required_score is set to.

My thinking here is that if this rule ever passes, it should not add a small 
value to the score but push the score up to the value
that required_score is set to.  This way, if the custom rule ever matches, it 
automatically scores the amount required to flag 
the message as spam because the score applied is the value of required_score.

I am wondering if it’s possible to do something like this:

    body __BODY_TEST1 . . .
    body __BODY_TEST2 . . .
    meta CUSTOM_RULE1    (__BODY_TEST1 && __BODY_TEST2)
    describe CUSTOM_RULE1 My custom rule
    score CUSTOM_RULE1 %required_score

…where that last %required_score is the part I am curious about.

If it’s not possible to do this directly, is there a way to achieve the same 
effect that is used by SA rule writers ?

Thanks,

- J

Reply via email to