Re: [exim] System Filter problem

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Stephen Gran
Cc: exim-users
Asunto: 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