Re: [exim] System Filter problem

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Stephen Gran
CC: exim-users
Subject: Re: [exim] System Filter problem
On Wed, 13 Sep 2006, Stephen Gran wrote:

> I don't know the answer, but my first guess is that it could be being
> expanded like:
>
> if A or (B and {c}) then reject
>
> instead of:
>
> if ((A or B) and {C}) then reject
>
> which would certainly reject all mail to rt@domain.


Correct. It is standard in all programming languages I know that "AND
binds more tightly than OR", so I implemented it that way in Exim
filters. You need to insert some parentheses.


-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book