> -----Original Message-----
> From: Ben Kreunen [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 22, 2006 8:07 PM
> To: SPAMAssassin email list
> Subject: Naming conventions for tests
>
>
> Hi All
>
> I've been approaching the problem of filtering spam at the
> email client end
> using the SpamAssassin (3.x) header. Our email server (over
> which I have no
> control) has a couple of server-side filters that reject emails with
> infected attachments and messages with a spam score > 15.
> This leaves me
> with about 100 spam messages per day.
>
> Rather than rely on the numerical value of the X-Spam-Score
> header I've been
> looking at client side filters using text strings to pick out
> groups of
> SpammAssassin tests. Many tests that are similar in nature
> have common text
> strings, allowing you to create a filter for a single term
> that includes a
> wide number of tests. The effectiveness of this approach
> could be improved
> with a better naming scheme for the tests.
>
> The first filter I trialled picks up many tests for
> blacklisted domains/urls
> using two text strings:
> X-Spam-Score contains "RCVD_IN" OR contains "BL_"
>
> Unfortunately "RCVD_IN" also includes some "good" tests so I
> had to split
> this into two filters:
> X-Spam-Score contains "RCVD_IN" AND does not contain "_IADB_"
> AND does not
> contain "_BSP_"
> X-Spam-Score contains "BL_"
>
> While these two filters do not cover all blacklist tests (and
> includes other
> types of tests) they do pick up 90% of spam (for me), with
> numerical scores
> down to 0.35. The main problem with this approach is that it requires
> monitoring of the SPAM assassin tests being applied as the software is
> updated to ensure that it doesn't pick up additional tests
> for "good" email.
> On the positive side, the "learning" aspect of this filter is
> done by the
> various blacklists.
>
> If the SpamAssassin test could be named with more consistent
> text strings it
> would be simpler to set up client side filters.
> E.g.
> All tests for blacklists contain "_BL_"
> All possible porn to start with "PORN_"
>
> Cheers
>
> Ben Kreunen
>
> Imaging and IT Coordinator
> Department of Pathology
> The University of Melbourne
Would it not be easier to create meta rules for the rules you are looking for, then simply add more points for those? Thats what most of us do. Otherwise you are prbly fighting a losing battle trying to get a standard naming scheme. Its a great idea, that simply won't get followed.
And it might FP less. I can get lots of Ham that hits PORN_ rules. I have lots of friends with potty mouths :)
Chris Santerre
SysAdmin and SARE/URIBL ninja
http://www.uribl.com
http://www.rulesemporium.com