"Mark Martinec" <[email protected]> wrote on 24.2.2010 19:37:25:

>Miha,
>
>> On messages with large attachments or attachments that contain a zip file
>> with other zip files and in that inside zip files a large quantity of
>> files I get the following error.
>>  amavis[3816]: (03816-11) (!!)TROUBLE in check_mail: virus_scan FAILED:
>>  virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED:
>>  CODE(0x8a065f4) Exceeded allowed time at (eval 45) line 292.
>>  at (eval 45) line 491.
>>
>> the problem here is that after that happens amavis doesn't clean up the
>> temporary directory. Which could result in filling up a disk space and
>> as Murphy says it will happen in the middle of the night.
>>
>> Any chances to cook up a quick patch for that?
>
>I quick-fix half-hearted solution is to add a dummy virus scanner entry
>which always succeeds and claims a clean status, e.g.:
>
>  ['always-clean', sub {0}],
>
Thanks Mark. I've added a dummy antivirus to the list.

-- 
No system, however painstakingly designed, can withstand the destructive force 
of an idiot who's found the power switch. 
-
Z lepimi pozdravi / Kind regards,

Miha Vrhovnik

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
AMaViS-user mailing list
[email protected] 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to