On 13/09/2007, jean-paul natola <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/