1 最后由 zl2826 (2011-03-01 20:31:09) 编辑

主题: 邮件发送不成功

环境:ubuntu10.4.2 + iRedMail 0.6.1
web界面www账号正常登陆,发送完成,没有报错。
使用“iRedMail命令行测试邮件”测试成功。(参考:http://www.ithov.com/Linux/Ubuntu/services/100682.shtml)
但无法接到邮件。
使用:“ postqueue -p ” 查看队列,报错如下:
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
CEB641800C23      753 Tue Mar  1 14:18:08  www@vm202.ns.cjw
(host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=14392-12, virus_scan FAILED: AV: ALL VIRUS SCANNERS

FAILED (in reply to end of DATA command))
                                         zhangl@vm201.ns.cjw

7ABB91800C17    95727 Tue Mar  1 14:16:07  www@vm202.ns.cjw
(host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=14393-12, virus_scan FAILED: AV: ALL VIRUS SCANNERS

FAILED (in reply to end of DATA command))
                                         root@vm201.ns.cjw

2D0EB1800417      404 Tue Mar  1 20:01:43  www@vm202.ns.cjw
(host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=14392-13, virus_scan FAILED: AV: ALL VIRUS SCANNERS

FAILED (in reply to end of DATA command))
                                         zl2826@gmail.com

D3D4C1800C05      563 Tue Mar  1 14:12:56  www@vm202.ns.cjw
(host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=14393-13, virus_scan FAILED: AV: ALL VIRUS SCANNERS

FAILED (in reply to end of DATA command))
                                         zl2826@gmail.com

-- 97 Kbytes in 4 Requests.

回复: 邮件发送不成功

补充:邮件服务器不在公网上。简单的mail命令方式可以发送、成功接收的。

回复: 邮件发送不成功

我的服务器也有同样现象
查mail.err
Mar  2 09:17:47 sgds amavis[21248]: (21248-02) (!!)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: \346\262\241\346\234\211\351\202\243\344\270\252\346\226\207\344\273\266\346\210\226\347\233\256\345\275\225) at (eval 99) line 325.
Mar  2 09:17:47 sgds amavis[21248]: (21248-02) (!!)WARN: all primary virus scanners failed, considering backups
Mar  2 09:17:47 sgds amavis[21248]: (21248-02) (!!)run_av (ClamAV-clamscan) FAILED - unexpected exit 40, output=

回复: 邮件发送不成功

whz 写道:

an't connect to UNIX socket /tmp/clamd.socket:

你的 ClamAV 没有启动。

5 最后由 zl2826 (2011-03-03 22:38:34) 编辑

回复: 邮件发送不成功

非常感谢你的提示,重启Unix 反病毒工具(扫描器守护进程clamav),问题解决!
# /etc/init.d/clamav-daemon restart

重启服务器,查看进程,若有记录显示,证明clamav服务已经自动加载。ubuntu就是好!
# ps ax |grep clamav