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

header SEX_SUBJ       Subject =~ /\b*sex\b/i
describe SEX_SUBJ     Subject: contains advertising sex
score SEX_SUBJ      50.0

body SEX       /9[ -]*8[ -]*9[ -]*4/i
describe SEX   sex
score SEX      50.0


Robin Witkop-Staub
Raven Industries
Network Administrator


-------------------------------------------------------
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