On 14 December 2009 13:05, Jeremy Laidman <jlaid...@rebel-it.com.au> wrote:

Just to follow up on this issue (from some time ago), upgrading to the
latest Razor solved one problem.  The other problem turned out to be a
bug in Sophos SAVI in its handling of PDF files.  Sophos put in a fix
in the March release.  The bug appears to be in allocating memory
based on a PDF object's meta-data rather than its actual size, leading
to a classic buffer overrun, with the side-effect of leaving the
message in the pre-scan postfix queue, as well as leaving a rather
large temporary file - and eventually filling up the filesystem.  We
had 4 different emails triggering the problem in a few months, leading
to a denial-of-service on each occasion.  Improvements in monitoring
(checking the age of AMaViS temp files) mean that we are now able to
detect a problem before it starts to affect mail.  Thanks very much
for your assistance in resolving these problems.

I still don't quite understand why AMaViS can't do something about
handling a scanner that fails in this way, including not being able to
report a problem.  Can you explain why?  Is it because AMaViS
pre-forks its children and the master can no longer detect when they
die ungracefully?  Is this something that the "nanny" utility can help
me detect?

Would it perhaps be possible for a child to wrap a fork/exec around
its call to the scanner, and if the eval() fails, log the failure, or
preferably send an appropriate SMTP response code?

Cheers
Jeremy

------------------------------------------------------------------------------
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
AMaViS-user@lists.sourceforge.net 
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