Hi all,

I'm using SA with mimedefang by using the Perl Module
Mail::SpamAssassin.

I want to be able to report on general categories of
spam such as porn/sex, commerce/financial, free
products etc.

For example:

All the 'possible porn' (ADULT_SITE,HARDCORE_PORN
etc)rules in the rule base would belong to the one
category porn/sex. 

A suitable function like: 

$list = $status->get_category();

would be great. But it doesn't exist!

The only way I can think if doing this is to have a
database table with all the rules and their mappings
to 10 or so categories that I have choosen. I will
have to get the symbolic test names (using
get_names_of_tests_hit) and then check each one
against the table and somehow determine the most
appropriate category.

This seems clumsy though. 
Has anyone done this before? 
Is there a better way to do this?

Thanks for any suggestions,

Chris



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to