For some reason my filter is tagging excel .xls attachments. I had a user leave the message line and the body blank and only attach the excel and it still got tagged. Not sure why?
Here is my filter: #body RAVEN_SEX /sex/i #describe RAVEN_SEX contains advertising sex by any name #score RAVEN_SEX 50.0
This is overly simplistic. This will catch words like:
sextant Essex, Middlesex and Sussex sextuplets sextillion sexist sextet
But that's not all.
There's a reason the existing rules to identify porn use more than a single word, and that's context. Right now you're assuming that every email that contains the word "sex" - including this one - is spam.
As for Excel files, email attachments are always converted to a series of alphanumeric characters. Presumably the letters SEX appear somewhere in the way the test file was encoded.
If you *really* want to block every single mention of sex, including comments about "the fair sex" or "Sex: M / F" on surveys or profiles, or news articles, then you should use /\bsex\b/i - the \b indicates a word boundary like a space or period. But I'd recommend against it.
Kelson Vibber
SpeedGate Communications <www.speed.net>
------------------------------------------------------- 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