主题: 不能收发带.zip附件的邮件,求助!

现在用的是iRedOS-0.5版,一直运行良好,突然这两天发现不能发带zip附件的邮件,也收不到带zip的邮件,log记录如下:
NOQUEUE: reject: RCPT from unknown[60.191.85.52]: 450 4.7.1 <xxx>: Recipient addre
ss rejected: Policy Rejection- Please try later.; from=<xxxx@yeah.net> to=<xxxxxxx> proto=ESMTP helo=<m85-52.yeah.net>
但是如果不带.zip附件,就能收到xxxx@yeah.net发来的邮件。
发带zip附件的邮件时就一直发送不出去,服务器上没有日志记录。

我查了/etc/clamd.conf , /etc/postfix/main.conf ,/etc/amavisd.conf,都是默认配置没有任何改动。/etc/policyd.conf也查了,貌似没有与附件限制有关的配置项。

请高人相助阿!

回复: 不能收发带.zip附件的邮件,求助!

你贴的日志是 greylisting 的,和附件没有任何关系。请将直接相关的日志贴一下

回复: 不能收发带.zip附件的邮件,求助!

将重起amavisd的日志帖在下面:
Jul 29 08:50:51 iredos amavis[17863]: starting.  /usr/sbin/amavisd at iredos.iredmail.org amavisd-new-2.6.4 (20090625), Unicode aware, LANG="en_US.UTF-
8"
Jul 29 08:50:51 iredos amavis[17863]: Perl version               5.008008
Jul 29 08:50:52 iredos amavis[17864]: Net::Server: Group Not Defined.  Defaulting to EGID '103 103'
Jul 29 08:50:52 iredos amavis[17864]: Net::Server: User Not Defined.  Defaulting to EUID '102'
Jul 29 08:50:52 iredos amavis[17864]: Module Amavis::Conf        2.207
Jul 29 08:50:52 iredos amavis[17864]: Module Archive::Zip        1.26
Jul 29 08:50:52 iredos amavis[17864]: Module BerkeleyDB          0.36
Jul 29 08:50:52 iredos amavis[17864]: Module Compress::Zlib      1.42
Jul 29 08:50:52 iredos amavis[17864]: Module Convert::TNEF       0.17
Jul 29 08:50:52 iredos amavis[17864]: Module Convert::UUlib      1.11
Jul 29 08:50:52 iredos amavis[17864]: Module Crypt::OpenSSL::RSA 0.25
Jul 29 08:50:52 iredos amavis[17864]: Module DBD::mysql          4.008
Jul 29 08:50:52 iredos amavis[17864]: Module DBI                 1.52
Jul 29 08:50:52 iredos amavis[17864]: Module DB_File             1.814
Jul 29 08:50:52 iredos amavis[17864]: Module Digest::MD5         2.36
Jul 29 08:50:52 iredos amavis[17864]: Module Digest::SHA         5.47
Jul 29 08:50:52 iredos amavis[17864]: Module Digest::SHA1        2.11
Jul 29 08:50:52 iredos amavis[17864]: Module IO::Socket::INET6   2.51
Jul 29 08:50:52 iredos amavis[17864]: Module MIME::Entity        5.420
Jul 29 08:50:52 iredos amavis[17864]: Module MIME::Parser        5.420
Jul 29 08:50:52 iredos amavis[17864]: Module MIME::Tools         5.420
Jul 29 08:50:52 iredos amavis[17864]: Module Mail::DKIM::Verifier 0.36
Jul 29 08:50:52 iredos amavis[17864]: Module Mail::Header        2.04
Jul 29 08:50:52 iredos amavis[17864]: Module Mail::Internet      2.04
Jul 29 08:50:52 iredos amavis[17864]: Module Mail::SpamAssassin  3.002005
Jul 29 08:50:52 iredos amavis[17864]: Module Net::DNS            0.59
Jul 29 08:50:52 iredos amavis[17864]: Module Net::Server         0.97
Jul 29 08:50:52 iredos amavis[17864]: Module Socket6             0.19
Jul 29 08:50:52 iredos amavis[17864]: Module Time::HiRes         1.9717
Jul 29 08:50:52 iredos amavis[17864]: Module URI                 1.35
Jul 29 08:50:52 iredos amavis[17864]: Module Unix::Syslog        1.0
Jul 29 08:50:52 iredos amavis[17864]: Amavis::DB code      loaded
Jul 29 08:50:52 iredos amavis[17864]: Amavis::Cache code   loaded
Jul 29 08:50:52 iredos amavis[17864]: SQL base code        NOT loaded
Jul 29 08:50:52 iredos amavis[17864]: SQL::Log code        NOT loaded
Jul 29 08:50:52 iredos amavis[17864]: SQL::Quarantine      NOT loaded
Jul 29 08:50:52 iredos amavis[17864]: Lookup::SQL code     NOT loaded
Jul 29 08:50:52 iredos amavis[17864]: Lookup::LDAP code    NOT loaded
Jul 29 08:50:52 iredos amavis[17864]: AM.PDP-in proto code loaded
Jul 29 08:50:52 iredos amavis[17864]: SMTP-in proto code   loaded
Jul 29 08:50:52 iredos amavis[17864]: Courier proto code   NOT loaded
Jul 29 08:50:52 iredos amavis[17864]: SMTP-out proto code  loaded
Jul 29 08:50:52 iredos amavis[17864]: Pipe-out proto code  NOT loaded
Jul 29 08:50:52 iredos amavis[17864]: BSMTP-out proto code NOT loaded
Jul 29 08:50:52 iredos amavis[17864]: Local-out proto code loaded
Jul 29 08:50:52 iredos amavis[17864]: OS_Fingerprint code  NOT loaded
Jul 29 08:50:52 iredos amavis[17864]: ANTI-VIRUS code      loaded
Jul 29 08:50:52 iredos amavis[17864]: ANTI-SPAM code       loaded
Jul 29 08:50:52 iredos amavis[17864]: ANTI-SPAM-EXT code   NOT loaded
Jul 29 08:50:52 iredos amavis[17864]: ANTI-SPAM-C code     NOT loaded
Jul 29 08:50:52 iredos amavis[17864]: ANTI-SPAM-SA code    loaded
Jul 29 08:50:52 iredos amavis[17864]: Unpackers code       loaded
Jul 29 08:50:52 iredos amavis[17864]: DKIM code            NOT loaded
Jul 29 08:50:52 iredos amavis[17864]: Tools code           NOT loaded
Jul 29 08:50:52 iredos amavis[17864]: Found $file            at /usr/bin/file
Jul 29 08:50:52 iredos amavis[17864]: No $altermime,         not using it
Jul 29 08:50:52 iredos amavis[17864]: Internal decoder for .mail
Jul 29 08:50:52 iredos amavis[17864]: Internal decoder for .asc
Jul 29 08:50:52 iredos amavis[17864]: Internal decoder for .uue
Jul 29 08:50:52 iredos amavis[17864]: Internal decoder for .hqx
Jul 29 08:50:52 iredos amavis[17864]: Internal decoder for .ync
Jul 29 08:50:52 iredos amavis[17864]: Found decoder for    .F    at /usr/bin/unfreeze
Jul 29 08:50:52 iredos amavis[17864]: Found decoder for    .Z    at /usr/bin/uncompress
Jul 29 08:50:52 iredos amavis[17864]: Found decoder for    .gz   at /usr/bin/gzip -d
Jul 29 08:50:52 iredos amavis[17864]: Found decoder for    .bz2  at /usr/bin/bzip2 -d
Jul 29 08:50:52 iredos amavis[17864]: Found decoder for    .lzo  at /usr/bin/lzop -d
Jul 29 08:50:52 iredos amavis[17864]: Found decoder for    .rpm  at /usr/bin/rpm2cpio
Jul 29 08:50:52 iredos amavis[17864]: Found decoder for    .cpio at /bin/cpio
Jul 29 08:50:52 iredos amavis[17864]: Found decoder for    .tar  at /bin/cpio
Jul 29 08:50:52 iredos amavis[17864]: Found decoder for    .deb  at /usr/bin/ar
Jul 29 08:50:52 iredos amavis[17864]: Internal decoder for .zip
Jul 29 08:50:52 iredos amavis[17864]: No decoder for       .7z   tried: 7zr, 7za, 7z
Jul 29 08:50:52 iredos amavis[17864]: Found decoder for    .rar  at /usr/bin/unrar
Jul 29 08:50:52 iredos amavis[17864]: Found decoder for    .arj  at /usr/bin/arj
Jul 29 08:50:52 iredos amavis[17864]: Found decoder for    .arc  at /usr/bin/nomarch
Jul 29 08:50:52 iredos amavis[17864]: Found decoder for    .zoo  at /usr/bin/zoo
Jul 29 08:50:52 iredos amavis[17864]: Found decoder for    .lha  at /usr/bin/lha
Jul 29 08:50:52 iredos amavis[17864]: Found decoder for    .cab  at /usr/bin/cabextract
Jul 29 08:50:52 iredos amavis[17864]: No decoder for       .tnef tried: tnef
Jul 29 08:50:52 iredos amavis[17864]: Internal decoder for .tnef
Jul 29 08:50:52 iredos amavis[17864]: Found decoder for    .exe  at /usr/bin/unrar; /usr/bin/lha; /usr/bin/arj
Jul 29 08:50:52 iredos amavis[17864]: Using primary internal av scanner code for ClamAV-clamd
Jul 29 08:50:52 iredos amavis[17864]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
Jul 29 08:50:52 iredos amavis[17864]: Creating db in /var/amavis/db/; BerkeleyDB 0.36, libdb 4.3


标蓝的那句和其他不一样,这是问题所在吗?

回复: 不能收发带.zip附件的邮件,求助!

发带zip附件的邮件无法发送出去,foxmail一直在发送中,等一会就返回“time out”的出错信息。

另外,如果用roundcube mail页面发送带zip的邮件,会有conversation with alt1.gmail-smtp-in.l.google.com[74.125.67.27] timed out while sending message body 这样的日志记录。除这些外,就没有其他相关记录了