----- Original Message ----- From: "Robin Witkop-Staub" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 06, 2003 2:56 AM Subject: [SAtalk] setting up message body filtering
> I am not fluent in Perl and I am trying to copy some example > scripts to filter subject line and message body with Spamassassin. > I have the > subject line working but my message body portion does not work. Can > anyone see my error? > > from filter.cf file: > > header VIAGRA_SUBJ Subject =~ /\b*Viagra\b/i > describe VIAGRA_SUBJ Subject: contains advertising Viagra > score VIAGRA_SUBJ 50.0 > > body VIAGRA /9[ -]*8[ -]*9[ -]*4/i > describe VIAGRA Viagra > score SEX 50.0 "/9[ -]*8[ -]*9[ -]*4/"? Is that from a phone-number? Anyway, as for obvious errors, you may wanna write: "score VIAGRA" (instead of "score SEX"). Copy & Paste can be a real b... ;) - Mark ------------------------------------------------------- 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