Re: [Exim] multiple conditions

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Martin A. Brooks
日付:  
To: Alan J. Flavell
CC: exim-users, exiscanusers
題目: 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/