bug processing zip file with errors

Mariano Absatz mailscanner at LISTS.COM.AR
Wed Jun 30 15:30:40 IST 2004


I got again the same problem I described in http://tinyurl.com/228le but now
I could capture the message.

The culprit is an (apparently) innocent message that contains a corrupted zip
file. The big problem is that instead of detecting the zip file as corrupt
and do something (maybe we should have an option about what to do?),
MailScanner loops infinitely, eating CPU, and the message doesn't get
delivered nor deleted.

Julian, would you take a look at this when you have a moment, please?

INFO: MailScanner 4.29.7 with ZMailer 2.99.56 - Archive::Zip 1.10 - RedHat
(used with an old RHL6.1 and with Fedora Core 1). Verified with Perl 5.6.1
and 5.8.3.

Example corrupt zip file (don't know where it came from nor what it has, it
was in a message that triggered the problem):

Would someone with an MTA other than ZMailer try to send this file thru a
MailScanner server and see what happens?

Example ZMailer queue file: http://baby.com.ar/MailScanner/err_zip/queue_file

Supervise log (supervise is capturing STDERR from MailScanner):

MailScanner log of the affected process (pid=3472):
(there were no further output from that PID until I manually killed it at

Output of 'top -b -n1' before killing the affected process:


Mariano Absatz
El Baby
Question: If someone with multiple personalities tries
to commit suicide, do the police consider it a hostage

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at

More information about the MailScanner mailing list