How to change the default use archive zip format in amavis

kshitij mali foreplayboy at gmail.com
Tue Jan 31 05:37:18 CET 2012


Hi Mark,


I want want to change the archive zip format used by amavisd-new to 7za how
to achive this is there any configuration setting used in amavisd.conf file.


The problem is recent amavisd-new.2.6.4-4.rle4 skiped one email unchecked
after investigating it looks like amavis where unable to decompress
because it use unzip default decompress i gess.

[root at D1SNX680RL ~]# *unzip -t ARTUS\ 016.zip*
Archive:  ARTUS 016.zip
   skipping: EXFU144406-2.pdf        need PK compat. v6.3 (can do v2.1)
   skipping: EXFU144421-0.pdf        need PK compat. v6.3 (can do v2.1)
   skipping: EXFU144452-4.pdf        need PK compat. v6.3 (can do v2.1)
   skipping: EXFU144464-8.pdf        need PK compat. v6.3 (can do v2.1)
   skipping: EXFU144481-7.pdf        need PK compat. v6.3 (can do v2.1)
   skipping: EXFU144483-8.pdf        need PK compat. v6.3 (can do v2.1)
   skipping: EXFU144493-0.pdf        need PK compat. v6.3 (can do v2.1)
   skipping: EXFU144506-9.pdf        need PK compat. v6.3 (can do v2.1)
   skipping: EXFU144516-1.pdf        need PK compat. v6.3 (can do v2.1)
   skipping: EXFU144299-0.pdf        need PK compat. v6.3 (can do v2.1)
   skipping: EXFU144312-7.pdf        need PK compat. v6.3 (can do v2.1)
   skipping: EXFU144324-0.pdf        need PK compat. v6.3 (can do v2.1)
   skipping: EXFU144326-1.pdf        need PK compat. v6.3 (can do v2.1)
   skipping: EXFU144327-7.pdf        need PK compat. v6.3 (can do v2.1)
   skipping: EXFU144333-8.pdf        need PK compat. v6.3 (can do v2.1)
   skipping: EXFU144346-7.pdf        need PK compat. v6.3 (can do v2.1)
   skipping: EXFU144402-0.pdf        need PK compat. v6.3 (can do v2.1)
Caution:  zero files tested in ARTUS 016.zip.
17 files skipped because of unsupported compression or encoding.

If tried to open it using 7zip, it tested properly


[root at D1SNX680RL ~]# *7za t ARTUS\ 016.zip*

7-Zip (A) 9.13 beta  Copyright (c) 1999-2010 Igor Pavlov  2010-04-15
p7zip Version 9.13 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,8 CPUs)

Processing archive: ARTUS 016.zip

Testing     EXFU144406-2.pdf
Testing     EXFU144421-0.pdf
Testing     EXFU144452-4.pdf
Testing     EXFU144464-8.pdf
Testing     EXFU144481-7.pdf
Testing     EXFU144483-8.pdf
Testing     EXFU144493-0.pdf
Testing     EXFU144506-9.pdf
Testing     EXFU144516-1.pdf
Testing     EXFU144299-0.pdf
Testing     EXFU144312-7.pdf
Testing     EXFU144324-0.pdf
Testing     EXFU144326-1.pdf
Testing     EXFU144327-7.pdf
Testing     EXFU144333-8.pdf
Testing     EXFU144346-7.pdf
Testing     EXFU144402-0.pdf

Everything is Ok
Files: 17
Size:       963404
Compressed: 793522

I think the attachment contents was packaged using pkzip utility by
application server and unzip is unable to decode it.

please help me what should i do


Regards,

Kshitij

kshitij.mali at orange.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20120131/a95e66e4/attachment.html>


More information about the amavis-users mailing list