Thanks for catching my typo.

As far as the numbers, that is what I don't understand.  The example I was
sent from a working script was this:
>>The same way can be used to filter words or word combinations in message
body:
>>
>>body AMERICAN_BUSINESS_CENTER       /9[ -]*8[ -]*9[ -]*4/i
>>describe AMERICAN_BUSINESS_CENTER   American business center
>>score AMERICAN_BUSINESS_CENTER      50.0

I can't tell what the numbers mean.  Maybe it is a phone number, I never
thought about that?  I just can't decipher what the proper syntax is so I
can modify to search for words I want to look for.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mark
Sent: Tuesday, August 05, 2003 8:04 PM
To: [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Re: [SAtalk] setting up message body filtering


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



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