Hello
I found out about a special problem. We got mail with a zip
attachment. Some of the files are shrunken. unzip returns
with exitcode 81. qmail-scanner checks only for exitcode 82
(=password protected and wrong password.) The mail is not
delivered. I'm not the big perl guru. Propably my code would
be very ugly. Could somebody please write some lines to
handle exitcode 81 and scan the not shrunken files?

hajo@opa /tmp/unzip$ unzip 071109.ZIP 
Archive:  071109.ZIP
   skipping: COM03LOG.TXT            `shrink' method not supported
   skipping: XCAMBIM.TXT             `shrink' method not supported
   skipping: XMANOVRA.TXT            `shrink' method not supported
   skipping: XMODULOB.TXT            `shrink' method not supported
  exploding: XBANTER.TXT             
  exploding: XFLUSSOA.TXT            
  exploding: XFLUSSOB.TXT            
 extracting: XFLUSSOC.TXT            
  exploding: XMODULOA.TXT            
 extracting: XMODULOC.TXT            
 extracting: XNOTE.TXT               
 extracting: XSOCIETA.TXT            
 extracting: XVOLUMI.TXT             
hajo@opa /tmp/unzip$ echo $?
81
hajo@opa /tmp/unzip$

kind regards
-- 
Hans-Joachim Hoetger                      voice: +49-5246-80-1555
mediaWays GmbH                            fax:   +49-5246-80-2555
   "Man muss korrupt sein, damit man f�r das Unbestechlichsein
   genug Geld hat."     Dieter Hildebrandt in "Scheibenwischer"

Attachment: msg01261/pgp00000.pgp
Description: PGP signature

Reply via email to