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     | [EMAIL PROTECTED]
http://www.saneinc.net | use STD::disclaimer;
System and Network Engineering (SaNE), Inc


--
## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to