Re: [exim] ACL to test message size

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Michael Sprague
Data:  
Para: exim-users
Assunto: 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