At 04:09 PM 5/26/2004, adp wrote:
I want to create a custom test that we can use with SA.

Ok

 I know the score
from this test before I even call SA, but the SA object has already been
created. Is there a way to insert this score into SA so that the "total
score" and the spam_report reflects my test in addition to other tests? Do I
need to modify the SA source, or is there another (and cleaner) way for an
outside test to show up in SA's spam_level and spam_report?


Wait, why are you trying to do this via dynamic insertion at the perl code level?

Why not just edit local.cf and add a rule?

If you need your rule to be perl code, add to evaltests.pm and have the local.cf rule call it.



Reply via email to