故障说明:
dspamd报错:
Nov 4 09:00:08 mail dspam[12209]: Connection to 127.0.0.1:10028 failed: Connection refused
Nov 4 09:00:08 mail dspam[12209]: Unable to connect to server
Nov 4 09:00:08 mail dspam[12209]: Client exited with error -5
Nov 4 09:00:08 mail amavis[11368]: (11368-01) (!)DSPAM stderr: 12209: [11/04/2014 09:00:08] Connection to 127.0.0.1:10028 failed: Connection refused\n12209: [11/04/2014 09:00:08] Unable to connect to server\n12209: [11/04/201
4 09:00:08] Client exited with error -5\n
Nov 4 09:00:08 mail amavis[11368]: (11368-01) (!)checking with spam scanner DSPAM failed: DSPAM: error running program /usr/bin/dspam: exit 251
Nov 4 09:00:08 mail amavis[11368]: (11368-01) (!!)TROUBLE in check_mail: spam_scan FAILED: DSPAM failed: DSPAM: error running program /usr/bin/dspam: exit 251 at (eval 90) line 109, <GEN14> line 388.
Nov 4 09:00:08 mail amavis[11368]: (11368-01) (!)PRESERVING EVIDENCE in /var/spool/vscan/tmp/amavis-20141104T090005-11368
dspamd重启后在经历第一次工作的时候就会报 “dspamd dead but pid file exists”
去掉dspamd模块后邮件系统恢复正常。
问题已解决,dspam版本3.8升级到3.10即可。
升级文章请见 http://blog.dspam.org.cn/post-6.html#comment-68