* This is the modus mailing list *

you would need to make it like this I believe

if allof(
body :matches :text ["* Viagra*"],
body :matches :text ["*click.com*]
{discard; stop;}

its been a while since I have had to write a sieve filter.  The way you had
it was kind of like an OR statement with an array of ["*
Viagra*","*click.com*"].


----- Original Message ----- 
From: "Turner, Peter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 07, 2003 12:35 PM
Subject: Spam Alert: [Modus] Sieve syntax question


* This is the modus mailing list *

Apparently I don't quite get the sieve syntax.  As I read it this line
from (v2)

# Filter Name...: \patterns\known05\strong (line 280)
if body :matches["text/plain","text/html"]["* Viagra*","*click.com*"] {
discard; stop; }

it should look for [space]Viagra[anything] AND
[anything]click.com[anything] in the plain text or html text parts of
the message.

[space]viagra does appear in the message but "click.com" does not.

Below is the first appearance of "click" in the message and it is indeed
followed - but not immediately - by ".com"  Should this have triggered
the filter?

Where do you refer your patients for fitting and purchase of shoes and
inserts? Click here to send me an email
mailto:[EMAIL PROTECTED]


**
To unsubscribe, send an Email to: [EMAIL PROTECTED]
with the word "UNSUBSCRIBE" in the body or subject line.


**
To unsubscribe, send an Email to: [EMAIL PROTECTED]
with the word "UNSUBSCRIBE" in the body or subject line.

Reply via email to