主题: 再汇报一个iRedMail-0.6.0 的错误

**Unmatched Entries**
    (!)Decoding of p010 (Zip archive data, at least v2.0 to extract) failed, leaving it unpacked: Compress::Raw::Zlib defines neither package nor VERSION--version check failed at (eval 102) line 467.: 1 Time(s)
    (!)Decoding of p013 (Zip archive data, at least v2.0 to extract) failed, leaving it unpacked: Compress::Raw::Zlib defines neither package nor VERSION--version check failed at (eval 102) line 467.: 1 Time(s)

回复: 再汇报一个iRedMail-0.6.0 的错误

Compress::Raw::Zlib有问题了

执行perl -e 'use Compress::Zlib;'  没用任何错误提示

[root@s2 spool]# amavisd --version
Error in parsing command line options: --version

Usage:
  /usr/sbin/amavisd
    [-u user] [-g group]
    [-i instance_name] {-c config_file}
    [-d log_level,area,...]
    [-m max_servers] {-p listen_port_or_socket}
    [-L lock_file] [-P pid_file] [-H home_dir]
    [-D db_home_dir | -D ''] [-Q quarantine_dir | -Q '']
    [-R chroot_dir | -R ''] [-S helpers_home_dir] [-T tempbase_dir]
    ( [start] | stop | reload | debug | debug-sa | foreground |
      showkeys {domains} | testkeys {domains} | genrsa file_name [nbits]
      convert_keysfile file_name )
  where area is a SpamAssassin debug area, e.g. all,util,rules,plugin,dkim,dcc
or:
  /usr/sbin/amavisd (-h | -V)  ... show help or version, then exit
[root@s2 spool]# amavisd -V
amavisd-new-2.6.4 (20090625)

回复: 再汇报一个iRedMail-0.6.0 的错误

估计还是版本的问题
http://www.iredmail.org/bbs/topic1575-h … assin.html

回复: 再汇报一个iRedMail-0.6.0 的错误

**Unmatched Entries**
    Found decoder for    .F    at /usr/bin/unfreeze: 4 Time(s)
    Found decoder for    .deb  at /usr/bin/ar: 4 Time(s)
    Found decoder for    .cpio at /usr/bin/pax: 4 Time(s)
    SQL::Quarantine      NOT loaded: 4 Time(s)
    Internal decoder for .uue : 4 Time(s)
    Found decoder for    .cab  at /usr/bin/cabextract: 4 Time(s)
    Found decoder for    .lha  at /usr/bin/lha: 4 Time(s)
    Found decoder for    .gz   at /usr/bin/gzip -d: 4 Time(s)
    Found decoder for    .exe  at /usr/bin/unrar; /usr/bin/lha; /usr/bin/arj: 4 Time(s)
    Found decoder for    .rar  at /usr/bin/unrar: 4 Time(s)
    Internal decoder for .hqx : 4 Time(s)
    Found decoder for    .Z    at /usr/bin/uncompress: 4 Time(s)
    Found decoder for    .lzo  at /usr/bin/lzop -d: 4 Time(s)
    Internal decoder for .asc : 4 Time(s)
    Found decoder for    .tar  at /usr/bin/pax: 4 Time(s)
    Internal decoder for .zip : 4 Time(s)

回复: 再汇报一个iRedMail-0.6.0 的错误

没有人关注吗?

回复: 再汇报一个iRedMail-0.6.0 的错误

请问你是什么情况下碰到这样的错误的?
默认安装的 iRedMail 么?哪个版本?

回复: 再汇报一个iRedMail-0.6.0 的错误

sorry
centos 5.5 64位
iRedMail 0.6.0

回复: 再汇报一个iRedMail-0.6.0 的错误

好像真的是有这个问题。

我是在CentOS 5.5, iRedMail 最新版本。发送一个zip文件,log里就出现这个错误

[root@centos55 ~]# amavisd -V
amavisd-new-2.6.4 (20090625)
[root@centos55 ~]# clear

[root@centos55 ~]# tail -0f /var/log/maillog 
Aug 14 17:58:13 centos55 postfix/smtpd[4735]: connect from centos55.example.com[127.0.0.1]
Aug 14 17:58:14 centos55 postfix/smtpd[4735]: 6164C140454: client=centos55.example.com[127.0.0.1], sasl_method=LOGIN, sasl_username=www@example.com
Aug 14 17:58:14 centos55 postfix/cleanup[4740]: 6164C140454: message-id=<fead30566442417232b7c1e0549ae0c7@127.0.0.1>
Aug 14 17:58:14 centos55 roundcube: [14-Aug-2010 17:58:14 +0800]: User www@example.com [192.168.1.137]; Message for <shake.chen@gmail.com>; 250: 2.0.0 Ok: queued as 6164C140454 
Aug 14 17:58:14 centos55 postfix/qmgr[4363]: 6164C140454: from=<www@example.com>, size=1661, nrcpt=1 (queue active)
Aug 14 17:58:14 centos55 postfix/smtpd[4735]: disconnect from centos55.example.com[127.0.0.1]
Aug 14 17:58:15 centos55 amavis[4587]: (04587-01) (!)Decoding of p002 (Zip archive data, at least v2.0 to extract) failed, leaving it unpacked: Compress::Raw::Zlib defines neither package nor VERSION--version check failed at (eval 104) line 467.
Aug 14 17:58:15 centos55 postfix/smtpd[4747]: connect from centos55.example.com[127.0.0.1]
Aug 14 17:58:15 centos55 postfix/smtpd[4747]: D2528140457: client=centos55.example.com[127.0.0.1]
Aug 14 17:58:15 centos55 postfix/cleanup[4740]: D2528140457: message-id=<fead30566442417232b7c1e0549ae0c7@127.0.0.1>
Aug 14 17:58:15 centos55 postfix/qmgr[4363]: D2528140457: from=<www@example.com>, size=2581, nrcpt=1 (queue active)
Aug 14 17:58:15 centos55 amavis[4587]: (04587-01) Passed CLEAN, MYNETS LOCAL [127.0.0.1] [127.0.0.1] <www@example.com> -> <shake.chen@gmail.com>, Message-ID: <fead30566442417232b7c1e0549ae0c7@127.0.0.1>, mail_id: Wa7PoQMOoakC, Hits: 3.303, size: 1661, queued_as: D2528140457, 1455 ms
Aug 14 17:58:15 centos55 postfix/smtp[4741]: 6164C140454: to=<shake.chen@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.9, delays=0.42/0.01/0.06/1.4, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=04587-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as D2528140457)
Aug 14 17:58:15 centos55 postfix/qmgr[4363]: 6164C140454: removed
Aug 14 17:58:15 centos55 postfix/smtpd[4747]: disconnect from centos55.example.com[127.0.0.1]
Aug 14 17:58:21 centos55 postfix/smtp[4748]: D2528140457: to=<shake.chen@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.53.27]:25, delay=5.4, delays=0.05/0.02/2.5/2.8, dsn=2.0.0, status=sent (250 2.0.0 OK 1281779901 t13si8819291wak.94)
Aug 14 17:58:21 centos55 postfix/qmgr[4363]: D2528140457: removed

[root@centos55 ~]# yum install unzip
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Package unzip-5.52-3.el5.i386 already installed and latest version
Nothing to do

如果没有压缩包就不会出现这个错误。

回复: 再汇报一个iRedMail-0.6.0 的错误

已经找到问题所在
默认没有安装perl-Compress-Raw-Zlib
yum install perl-Compress-Raw-Zlib
解决

回复: 再汇报一个iRedMail-0.6.0 的错误

perl-Compress-Raw-Zlib 这个包应该默认就会装上的,而且 iredmail 的 yum 仓库里的已经是 2.x 版本:
http://iredmail.org/yum/rpms/5/

回复: 再汇报一个iRedMail-0.6.0 的错误

不过我这里的确没有装上
eddiechen可以查询一下
rpm -qa|grep perl-Compress