On 11/02/2008, Brent Clark <[EMAIL PROTECTED]> wrote:
> Hi
>
> I need to find a solution / acl whereby i can skip mail with attachments,
> that are great than a certain size.
>
> My users send hi resolution images around the world, and the problem im
> facing is that it literally hogs clamav.
>
> I cant put a block on the mail sizes, as that will literally stop our
> business.
>
> If anyone has a solution, it would be soo appreciated.
Since you don't give any config information, I'll assume you're
calling clamav via the built-in content scanning functionality in the
DATA ACL...
You simply need a message size condtion in the ACL that calls clamav.
eg
deny message = This message contains malware ($malware_name)
condition = ${if < {$message_size}{10K}}
malware = *
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/