Re: [exim] ACL to test message size

Pàgina inicial
Delete this message
Reply to this message
Autor: Michael Sprague
Data:  
A: exim-users
Assumpte: Re: [exim] ACL to test message size
Marc Perkel wrote:
> Actually whay I need is something that tests a message size so I can do
> an accept before hitting the virus scanner. The bug is that ClamAV
> doesn't like the file size.
>


How about something like this:

drop
   condition   = ${if <{$message_size}{10240k}{true}{false}}
   malware     = */defer_ok


Replace 10240k with whatever your size limit is.

HTH,
M

-- 
Michael F. Sprague     | mfs@???
http://www.saneinc.net | use STD::disclaimer;
System and Network Engineering (SaNE), Inc