ExtMail服务器社区's Archiver

zgxowb 发表于 2009-12-19 00:48

maillog里提示DSPAM错误信息

我按论坛里的教程进行DSPAM的配置后,重启后maillog有多行以下错误提示,不知何因,请高手指点,谢谢
Dec 19 00:05:16 mail dspam[5091]: unable to initialize tools context
Dec 19 00:05:16 mail dspam[5091]: Access denied for user 'dspam'@'localhost' (us
ing password: YES)
Dec 19 00:05:16 mail dspam[5091]: unable to initialize tools context
Dec 19 00:05:21 mail dspam[5099]: Access denied for user 'dspam'@'localhost' (us
ing password: YES)
Dec 19 00:05:21 mail dspam[5099]: unable to initialize tools context
Dec 19 00:05:21 mail dspam[5099]: Access denied for user 'dspam'@'localhost' (us
ing password: YES)
Dec 19 00:05:21 mail dspam[5099]: unable to initialize tools context
Dec 19 00:05:48 mail dspam[5105]: Access denied for user 'dspam'@'localhost' (us
ing password: YES)
Dec 19 00:05:48 mail dspam[5105]: unable to initialize tools context
Dec 19 00:05:48 mail dspam[5105]: Access denied for user 'dspam'@'localhost' (us
ing password: YES)

liushaobo 发表于 2009-12-19 00:52

你的dspam用户没权限访问数据库,仔细看帖

zgxowb 发表于 2009-12-21 14:46

版主,我看了下,我原有的dspam有访问数据库的权限啊,我执行了grant all on *.* to 'dspam'@'localhost'了这条语句,请再帮忙看下[attach]1768[/attach]

happy555 发表于 2010-1-7 15:47

/etc/dspam/dspam.conf里面的MySQLUser和MySQLPass配置不正确,如果是照老大的那个帖子操作并且没有改用户和密码的话,应该配置如下,并且能正确使用。否则就应该看看你的用户和密码是否匹配
MySQLUser               dspam
MySQLPass               dspam
MySQLDb                 dspam

页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.