On 13/09/2007, jean-paul natola <jnatola@???> wrote:
>
> My goal is for exim to NOT pass messages over 500k to SA or CLAMAV- just to send them right on through
>
>
> will/should this do it?
>
>
> condition = ${if >={$message_size}{500k}{1}{0}}
> j
Depends where you put it and what you put round it - for example
accept condition = ${if >={$message_size}{500k}{1}{0}}
in your data acl will cause an immediate 'accept' without running any
tests further down the acl - so if your malware stuff is lower down,
then that's probably good.
But if, instead, you do this
deny message = Malware detected
condition = ${if >={$message_size}{500k}{1}{0}}
malware = *
then it will do exactly the opposite of what you want - it will skip
the malware test if the message is not >= 500k.
http://wiki.exim.org/ExiscanExamples has a good set of examples.
Peter
--
Peter Bowyer
Email: peter@???