主题: iRedMail发送邮件后,对方收不到!

刚安装好之后,没有什么问题。测试了都能收发。但是,今天却不能收发了。发送邮件也提示发送成功。但是就是收不到。请问怎样解除故障?我今天就是重启了下VPS。别的什么操作都没做啊!

回复: iRedMail发送邮件后,对方收不到!

检查一下相关组件的日志文件,例如 /var/log/maillog,看看是否有相关的信息。

回复: iRedMail发送邮件后,对方收不到!

以下是日志,请老大和兄弟姐妹们帮我看下,谢谢各位了!
Aug 17 18:44:10 mail amavis[1659]: starting.  /usr/sbin/amavisd at mail.daan8.net amavisd-new-2.6.4 (20090625), Unicode aware, LANG="en_US.UTF-8"
Aug 17 18:44:10 mail amavis[1659]: Perl version               5.008008
Aug 17 18:44:12 mail amavis[1673]: Net::Server: Group Not Defined.  Defaulting to EGID '103 103'
Aug 17 18:44:12 mail amavis[1673]: Net::Server: User Not Defined.  Defaulting to EUID '102'
Aug 17 18:44:12 mail amavis[1673]: Module Amavis::Conf        2.207
Aug 17 18:44:12 mail amavis[1673]: Module Archive::Zip        1.26
Aug 17 18:44:12 mail amavis[1673]: Module BerkeleyDB          0.36
Aug 17 18:44:12 mail amavis[1673]: Module Compress::Zlib      2.03
Aug 17 18:44:12 mail amavis[1673]: Module Convert::TNEF       0.17
Aug 17 18:44:12 mail amavis[1673]: Module Convert::UUlib      1.11
Aug 17 18:44:12 mail amavis[1673]: Module Crypt::OpenSSL::RSA 0.25
Aug 17 18:44:12 mail amavis[1673]: Module DBD::mysql          4.008
Aug 17 18:44:12 mail amavis[1673]: Module DBI                 1.52
Aug 17 18:44:12 mail amavis[1673]: Module DB_File             1.814
Aug 17 18:44:12 mail amavis[1673]: Module Digest::MD5         2.36
Aug 17 18:44:12 mail amavis[1673]: Module Digest::SHA         5.47
Aug 17 18:44:12 mail amavis[1673]: Module Digest::SHA1        2.11
Aug 17 18:44:12 mail amavis[1673]: Module IO::Socket::INET6   2.51
Aug 17 18:44:12 mail amavis[1673]: Module MIME::Entity        5.420
Aug 17 18:44:12 mail amavis[1673]: Module MIME::Parser        5.420
Aug 17 18:44:12 mail amavis[1673]: Module MIME::Tools         5.420
Aug 17 18:44:12 mail amavis[1673]: Module Mail::DKIM::Signer  0.36
Aug 17 18:44:12 mail amavis[1673]: Module Mail::DKIM::Verifier 0.36
Aug 17 18:44:12 mail amavis[1673]: Module Mail::Header        2.04
Aug 17 18:44:12 mail amavis[1673]: Module Mail::Internet      2.04
Aug 17 18:44:12 mail amavis[1673]: Module Mail::SPF           v2.006
Aug 17 18:44:12 mail amavis[1673]: Module Mail::SpamAssassin  3.002005
Aug 17 18:44:12 mail amavis[1673]: Module Net::DNS            0.59
Aug 17 18:44:12 mail amavis[1673]: Module Net::LDAP           0.33
Aug 17 18:44:12 mail amavis[1673]: Module Net::Server         0.97
Aug 17 18:44:12 mail amavis[1673]: Module NetAddr::IP         4.007
Aug 17 18:44:12 mail amavis[1673]: Module Socket6             0.19
Aug 17 18:44:12 mail amavis[1673]: Module Time::HiRes         1.9717
Aug 17 18:44:12 mail amavis[1673]: Module URI                 1.35
Aug 17 18:44:12 mail amavis[1673]: Module Unix::Syslog        1.0
Aug 17 18:44:12 mail amavis[1673]: Amavis::DB code      loaded
Aug 17 18:44:12 mail amavis[1673]: Amavis::Cache code   loaded
Aug 17 18:44:12 mail amavis[1673]: SQL base code        loaded
Aug 17 18:44:12 mail amavis[1673]: SQL::Log code        loaded
Aug 17 18:44:12 mail amavis[1673]: SQL::Quarantine      NOT loaded
Aug 17 18:44:12 mail amavis[1673]: Lookup::SQL code     NOT loaded
Aug 17 18:44:12 mail amavis[1673]: Lookup::LDAP code    loaded
Aug 17 18:44:12 mail amavis[1673]: AM.PDP-in proto code loaded
Aug 17 18:44:12 mail amavis[1673]: SMTP-in proto code   loaded
Aug 17 18:44:12 mail amavis[1673]: Courier proto code   NOT loaded
Aug 17 18:44:12 mail amavis[1673]: SMTP-out proto code  loaded
Aug 17 18:44:12 mail amavis[1673]: Pipe-out proto code  NOT loaded
Aug 17 18:44:12 mail amavis[1673]: BSMTP-out proto code NOT loaded
Aug 17 18:44:12 mail amavis[1673]: Local-out proto code loaded
Aug 17 18:44:12 mail amavis[1673]: OS_Fingerprint code  NOT loaded
Aug 17 18:44:12 mail amavis[1673]: ANTI-VIRUS code      loaded
Aug 17 18:44:12 mail amavis[1673]: ANTI-SPAM code       loaded
Aug 17 18:44:12 mail amavis[1673]: ANTI-SPAM-EXT code   NOT loaded
Aug 17 18:44:12 mail amavis[1673]: ANTI-SPAM-C code     NOT loaded
Aug 17 18:44:12 mail amavis[1673]: ANTI-SPAM-SA code    loaded
Aug 17 18:44:12 mail amavis[1673]: Unpackers code       loaded
Aug 17 18:44:12 mail amavis[1673]: DKIM code            loaded
Aug 17 18:44:12 mail amavis[1673]: Tools code           NOT loaded
Aug 17 18:44:12 mail amavis[1673]: Found $file            at /usr/bin/file
Aug 17 18:44:12 mail amavis[1673]: Found $altermime       at /usr/bin/altermime
Aug 17 18:44:12 mail amavis[1673]: Internal decoder for .mail
Aug 17 18:44:12 mail amavis[1673]: Internal decoder for .asc
Aug 17 18:44:12 mail amavis[1673]: Internal decoder for .uue
Aug 17 18:44:12 mail amavis[1673]: Internal decoder for .hqx
Aug 17 18:44:12 mail amavis[1673]: Internal decoder for .ync
Aug 17 18:44:12 mail amavis[1673]: Found decoder for    .F    at /usr/bin/unfreeze
Aug 17 18:44:12 mail amavis[1673]: Found decoder for    .Z    at /usr/bin/uncompress
Aug 17 18:44:12 mail amavis[1673]: Found decoder for    .gz   at /usr/bin/gzip -d
Aug 17 18:44:12 mail amavis[1673]: Found decoder for    .bz2  at /usr/bin/bzip2 -d
Aug 17 18:44:12 mail amavis[1673]: Found decoder for    .lzo  at /usr/bin/lzop -d
Aug 17 18:44:12 mail amavis[1673]: Found decoder for    .rpm  at /usr/bin/rpm2cpio
Aug 17 18:44:12 mail amavis[1673]: Found decoder for    .cpio at /bin/cpio
Aug 17 18:44:12 mail amavis[1673]: Found decoder for    .tar  at /bin/cpio
Aug 17 18:44:12 mail amavis[1673]: Found decoder for    .deb  at /usr/bin/ar
Aug 17 18:44:12 mail amavis[1673]: Internal decoder for .zip
Aug 17 18:44:12 mail amavis[1673]: No decoder for       .7z   tried: 7zr, 7za, 7z
Aug 17 18:44:12 mail amavis[1673]: Found decoder for    .rar  at /usr/bin/unrar
Aug 17 18:44:12 mail amavis[1673]: Found decoder for    .arj  at /usr/bin/arj
Aug 17 18:44:12 mail amavis[1673]: Found decoder for    .arc  at /usr/bin/nomarch
Aug 17 18:44:12 mail amavis[1673]: Found decoder for    .zoo  at /usr/bin/zoo
Aug 17 18:44:12 mail amavis[1673]: Found decoder for    .lha  at /usr/bin/lha
Aug 17 18:44:12 mail amavis[1673]: Found decoder for    .cab  at /usr/bin/cabextract
Aug 17 18:44:12 mail amavis[1673]: No decoder for       .tnef tried: tnef
Aug 17 18:44:12 mail amavis[1673]: Internal decoder for .tnef
Aug 17 18:44:12 mail amavis[1673]: Found decoder for    .exe  at /usr/bin/unrar; /usr/bin/lha; /usr/bin/arj
Aug 17 18:44:12 mail amavis[1673]: Using primary internal av scanner code for ClamAV-clamd
Aug 17 18:44:12 mail amavis[1673]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
Aug 17 18:44:12 mail amavis[1673]: Creating db in /var/amavis/db/; BerkeleyDB 0.36, libdb 4.3
Aug 17 18:44:13 mail postfix/postfix-script[1734]: warning: /var/spool/postfix/etc/localtime and /etc/localtime differ
Aug 17 18:44:13 mail postfix/postfix-script[1737]: starting the Postfix mail system
Aug 17 18:44:13 mail postfix/master[1738]: daemon started -- version 2.5.9, configuration /etc/postfix
Aug 17 18:44:16 mail policyd: starting policyd v1.82
Aug 17 18:44:16 mail policyd: connecting to mysql database: 127.0.0.1
Aug 17 10:44:16 mail policyd: connected..
Aug 17 18:45:29 mail postfix/smtpd[1876]: connect from localhost.localdomain[127.0.0.1]
Aug 17 04:45:29 mail postfix/smtpd[1876]: 2D446109B0265: client=localhost.localdomain[127.0.0.1], sasl_method=LOGIN, sasl_username=zyw@daan8.net
Aug 17 18:45:30 mail postfix/cleanup[1880]: 2D446109B0265: message-id=<318846486ed4d6a05e918418b212b462@daan8.net>
Aug 17 18:45:30 mail postfix/qmgr[1746]: 2D446109B0265: from=<zyw@daan8.net>, size=540, nrcpt=2 (queue active)
Aug 17 18:45:30 mail roundcube: User zyw@daan8.net [123.97.255.201]; Message for cnyiwei@qq.com, mz@daan8.net; 250: 2.0.0 Ok: queued as 2D446109B0265
Aug 17 04:45:30 mail postfix/smtpd[1876]: disconnect from localhost.localdomain[127.0.0.1]
Aug 17 18:45:31 mail amavis[1750]: (01750-01) (!)ClamAV-clamd: Can't connect to UNIX socket /tmp/clamd.socket: No such file or directory, retrying (2)
Aug 17 18:45:37 mail amavis[1750]: (01750-01) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /tmp/clamd.socket (Can't connect to UNIX socket /tmp/clamd.socket: No such file or directory) at (eval 105) line 373.\n
Aug 17 18:45:37 mail amavis[1750]: (01750-01) (!!)WARN: all primary virus scanners failed, considering backups
Aug 17 18:45:37 mail amavis[1750]: (01750-01) (!)run_av (ClamAV-clamscan) FAILED - unexpected exit 2, output="WARNING: Ignoring deprecated option --disable-summary\nERROR: Option --tempdir requires a non-empty string argument\nERROR: Can't parse command line options"
Aug 17 18:45:37 mail amavis[1750]: (01750-01) (!)ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit 2, output="WARNING: Ignoring deprecated option --disable-summary\nERROR: Option --tempdir requires a non-empty string argument\nERROR: Can't parse command line options" at (eval 105) line 594.
Aug 17 18:45:37 mail amavis[1750]: (01750-01) (!!)TROUBLE in check_mail: virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED
Aug 17 18:45:37 mail amavis[1750]: (01750-01) (!)PRESERVING EVIDENCE in /var/amavis/tmp/amavis-20110817T184530-01750
Aug 17 18:45:37 mail postfix/smtp[1882]: 2D446109B0265: to=<mz@daan8.net>, relay=127.0.0.1[127.0.0.1]:10024, delay=8.3, delays=1.2/0.01/0.01/7.1, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=01750-01, virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED (in reply to end of DATA command))
Aug 17 04:45:37 mail postfix/smtp[1882]: 2D446109B0265: to=<cnyiwei@qq.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=8.3, delays=1.2/0.01/0.01/7.1, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=01750-01, virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED (in reply to end of DATA command))

回复: iRedMail发送邮件后,对方收不到!

应该是病毒库过期了,运行yum update后,启动service clamd start,发送邮件成功。感谢老张。