Re: [Exim] multiple conditions

Página Inicial
Delete this message
Reply to this message
Autor: Martin A. Brooks
Data:  
Para: Alan J. Flavell
CC: exim-users, exiscanusers
Assunto: Re: [Exim] multiple conditions
Hi Alan,

On Tuesday, April 6, 2004, 8:06:30 PM, Alan J. Flavell wrote:
> condition = ${if < {$message_size}{2097152}{1}{0}}
> condition = ${if > {$spam_score_int}{150}{1}{0}}


This is what I had initally assumed and whilst it's syntactically
fine, it doesn't actually work. The messages over 2048k are being
passed on to spamassassin for processing regardless. I'm guessing that
the call to spamd is assumed and then the conditions are evaluated
afterwards.

Perhaps this would need a "precondition" statement to implement
cleanly? Failing that I'm scratching my head a little bit as to the
best way to solve the problem.

Regards


--
Martin A. Brooks, Clues Ltd.
http://www.clues.ltd.uk/