I'm tired of rewriting my custom-built EvalTest.pm tests every time a new SA comes out, so I'm converting them to Mail::SpamAssassin::Plugin(s) (Chris - this is the BAD_TAGS invalid html tag identifier and the [EMAIL PROTECTED] [EMAIL PROTECTED] filters I posted about 6 months ago).
I finally got my code to work perfectly after quite a bit of trial and error, but one problem - it's not reporting back to sa whether it's spam or not. I'm doing a "return 1" (spam) or "return 0" (ham) at the end of my subroutine, and it's not tripping the rule. Am I just doing it wrong? Should I be using something like $self->isspam=1 instead? Once I get these 2 plugins working, I'll post them to the list for others to use. Thanks, Keith