In rules with multiple conditions (AND, OR) the conditions are handled in
left to right order.  So, your rule is:

exp1 and exp2 or exp3 and exp4 or exp5 and exp6:copy...

This is being evaluated this way:
((((exp1 and exp2) or exp3) and exp4) or exp5) and exp6

For this rule to be true, the header must contain x-imail-spam-valfrom.

You can't use the parenthesis in the rule like I did above, that was just to
show how it's evaluating.

Tripp

----- Original Message ----- 
From: "Guy Deslauriers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 23, 2004 5:45 PM
Subject: [IMail Forum] Misbehaving Rule!


> Hi,
>
> I have the following rule behaving quite strangely
>
>
H~X-IMAIL-SPAM-VALHELO!AND!H~X-IMAIL-SPAM-VALREVDNS!OR!H~X-IMAIL-SPAM-VALHEL
>
O!AND!H~X-IMAIL-SPAM-VALFROM!OR!H~X-IMAIL-SPAM-VALREVDNS!AND!H~X-IMAIL-SPAM-
> VALFROM:[EMAIL PROTECTED]
>
> I run the test on the rule and get the following results:
>
> X-IMAIL-SPAM-VALHELO and X-IMAIL-SPAM-VALREVDNS = FALSE
> X-IMAIL-SPAM-VALHELO and X-IMAIL-SPAM-VALFROM = TRUE
> X-IMAIL-SPAM-VALREVDNS and X-IMAIL-SPAM-VALFROM = TRUE
>
> I tried it like that too with the same results
>
>
H~X-IMAIL-SPAM-VALHELO!AND!H~(X-IMAIL-SPAM-VALREVDNS|X-IMAIL-SPAM-VALFROM)!O
> R!H~X-IMAIL-SPAM-VALREVDNS!AND!H~X-IMAIL-SPAM-VALFROM:!COPY!
> [EMAIL PROTECTED]
>
> And of course when I use the following rule it behaves as expected
>
>
H~X-IMAIL-SPAM-VALHELO!AND!H~X-IMAIL-SPAM-VALREVDNS:[EMAIL PROTECTED]
>
> Could some bright mind enlighten me or slap me good 'cause I screwed up
> somewhere???
>
> Thanks in advance
>
> gd
>
>
>
>
>
>
> To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
> List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
> Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
>


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to