[Mimedefang] Archive::Zip problem?

Dave O'Neill dmo at roaringpenguin.com
Thu Mar 4 14:02:12 EST 2004


Cormack, Ken wrote:
> List,
> 
> Two days ago, we incorporated the Archive::Zip functionality (along with a
> few suggested improvements), to our filter.  That code, is below.
> 
> We saw this log entry in today's logs (we havent looked back yet, to see how
> many times this has occurred.)
> 
> Mar  4 09:47:19 mail01 mimedefang-multiplexor: Slave 11 stderr: called at
> /etc/mail/mimedefang-filter line 527
> ^Imain::filter('MIME::Entity=HASH(0x97646b8)','Document.zip','.zip','applica
> tion/octet-stream') called at /usr/local/bin/mimedefang.pl line 513
> ^Imain::rebuild_entity('MIME::Entity=HASH(0x91211dc)','MIME::Entity=HASH(0x9
> 7646b8)') called at /usr/local/bin/mimedefang.pl line 4705
> ^Imain::do_scan('/var/spool/MIMEDefang/mdefang-i24ElHuN024909') called at
> /usr/local/bin/mimedefang.pl line 4322 ^Imain::do_main_loop() called at
> /usr/local/bin/mimedefang.pl line 4284 ^Imai
> 
> We have Archive::Zip 1.09 from CPAN installed, and it's dependencies are
> good, as well.  For reference, I've indicated in the code below, which line
> numbers are which, as referenced in the log messages above.

Archive::Zip likes to spew backtraces to STDERR when it's reading a 
malformed zip file.  Michal Jankowski suggested calling 
setErrorHandler() with a dummy subroutine to cause these to be ignored: 
http://lists.roaringpenguin.com/pipermail/mimedefang/2004-March/020650.html

Cheers,
Dave
-- 
Dave O'Neill <dmo at roaringpenguin.com>    Roaring Penguin Software Inc.
+1 (613) 231-6599 ext. 104               http://www.roaringpenguin.com/



More information about the MIMEDefang mailing list