> Jul 2 11:31:07 buffy amavisd-new[2975]: (02975-29) Decoding of part-00001 > (bzip compressed data, version: 7, compression block size 200k) failed, > leaving it unpacked: Error running decompressor /usr/bin/bzip2 -d on > part-00001, exit status 2 at /usr/sbin/amavisd-new line 4208.
> and > Jul 2 11:31:07 buffy amavisd-new[2975]: (02975-29) TROUBLE in check_mail: > decoding2-get-file-types FAILED: 'file' utility (/usr/bin/file) failed, > status=255 (65280 ) at /usr/sbin/amavisd-new line 3853. If you are in fact using a compatible version of Net::Server, then this patch for amavisd-new 20030616p10, interpolated from http://archive.netbsd.se/?ml=amavis-user&a=2005-11&m=1526878 might prevent amavisd-new from dying when a corrupt archive is decoded (and instead only log the error). Messages like that may become corrupt as a result of bounce DSNs truncating the original message. --- amavisd-new.orig 2006-07-09 13:34:44.000000000 -0600 +++ amavisd-new 2006-07-09 13:43:50.000000000 -0600 @@ -4205,8 +4205,9 @@ die sprintf('Error running decompressor %s on %s, DIED on signal %d', $decompressor, $part, WTERMSIG($rv)); } elsif (WEXITSTATUS($rv) != 0) { - die sprintf('Error running decompressor %s on %s, exit status %d', + my($msg) = sprintf('Error running decompressor %s on %s, exit status %d', $decompressor, $part, WEXITSTATUS($rv)); + if ($rv == 2) { do_log(0,$msg) } else { die $msg } } 1; } No warranty - seems to work. Gary V ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ 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/
