免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 5286 | 回复: 16
打印 上一主题 下一主题

邮件服务器配置到了最后,用outlook测试出现了下面的错误。。(log) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-08-15 22:35 |只看该作者 |倒序浏览
tail maillog

错误是这样的


Aug 15 23:15:48 www MailScanner[4212]: Enabling SpamAssassin auto-whitelist functionality...
Aug 15 23:15:49 www MailScanner[4216]: Read 777 hostnames from the phishing whitelist
Aug 15 23:15:49 www MailScanner[4216]: SpamAssassin temporary working directory is /var/spool/MailScanner/incoming/SpamAssassin-Temp
Aug 15 23:15:49 www authdaemond: failed to connect to mysql server (server=localhost., userid=postfix): Unknown MySQL server host 'localhost.' (1)
Aug 15 23:15:49 www pop3d: LOGIN FAILED, user=test, ip=[218.80.58.29]
Aug 15 23:15:49 www pop3d: authentication error: Input/output error

请大家帮我分析和看看。,。。
初步分析是

Aug 15 23:15:49 www authdaemond: failed to connect to mysql server (server=localhost., userid=postfix): Unknown MySQL server host 'localhost.' (1)

问题。。
请大家帮我想想会是哪个文件引起的。。。很着急。。。


压缩包里附上我的邮件配置文件,请好心的人们帮帮忙看看啊 。。。。
苦恼我一个月的问题。。。

基于FreeBSD和Postfix的反垃圾邮件系统5.1(PowerUP补充版V2.0).rar

182.6 KB, 下载次数: 63

我的邮件配置文档。

论坛徽章:
0
2 [报告]
发表于 2007-08-15 22:36 |只看该作者
希望明天早上来有所发现哦,,。。

论坛徽章:
0
3 [报告]
发表于 2007-08-15 22:51 |只看该作者
贴上outlook下测试的情况给大家看,,,,

1.JPG (58.25 KB, 下载次数: 38)

1.JPG

论坛徽章:
0
4 [报告]
发表于 2007-08-15 23:30 |只看该作者
原帖由 qimincyh2000 于 2007-8-15 22:35 发表
Unknown MySQL server host 'localhost.' (1)  --------->很显然多了一个点


检查文件
/usr/local/etc/authlib/authmysqlrc
查看参数
MYSQL_SERVER                localhost
是否多了一个“点”
去掉点后应该没问题的。

论坛徽章:
0
5 [报告]
发表于 2007-08-16 09:36 |只看该作者
看了,没有这个点,但是后面倒是有很多的空格,我把空格删掉了,

现在又有个新的错误出现是:

Aug 16 10:34:41 www authdaemond: failed to connect to mysql server (server=localhost, userid=postfix): Can't connect to local MySQL server through socket '/tmp/mysql.sock ' (2)
Aug 16 10:34:41 www pop3d: LOGIN FAILED, user=test, ip=[124.78.213.49]
Aug 16 10:34:41 www pop3d: authentication error: Input/output error

论坛徽章:
0
6 [报告]
发表于 2007-08-16 12:08 |只看该作者
上面那个问题解决了,但是又出现了个问题


Aug 16 12:55:30 www MailScanner[33741]: Using SpamAssassin results cache
Aug 16 12:55:30 www pop3d: LOGIN FAILED, user=test@test.com, ip=[124.78.213.49]
Aug 16 12:55:30 www pop3d: authentication error: Input/output error
Aug 16 12:55:30 www MailScanner[33741]: Connected to SpamAssassin cache database
Aug 16 12:55:30 www MailScanner[33741]: Enabling SpamAssassin auto-whitelist functionality...

大家看是哪里的问题,请帮帮我

论坛徽章:
0
7 [报告]
发表于 2007-08-16 14:36 |只看该作者
Aug 16 15:36:09 www MailScanner[992]: Using SpamAssassin results cache
Aug 16 15:36:09 www MailScanner[992]: Connected to SpamAssassin cache database
Aug 16 15:36:09 www MailScanner[992]: Enabling SpamAssassin auto-whitelist functionality...
Aug 16 15:36:10 www pop3d: LOGIN FAILED, user=test, ip=[124.78.213.49]
Aug 16 15:36:14 www MailScanner[994]: MailScanner E-Mail Virus Scanner version 4.61.7 starting...
Aug 16 15:36:14 www MailScanner[994]: Read 777 hostnames from the phishing whitelist
Aug 16 15:36:14 www MailScanner[994]: SpamAssassin temporary working directory is /var/spool/MailScanner/incoming/SpamAssassin-Temp

论坛徽章:
0
8 [报告]
发表于 2007-08-16 16:29 |只看该作者
还是报的这个错误,大家帮我看看日志啊。。。

论坛徽章:
0
9 [报告]
发表于 2007-08-16 20:46 |只看该作者
看你的日志有提到连接数据库出错!

论坛徽章:
0
10 [报告]
发表于 2007-08-16 21:05 |只看该作者
那个数据库出错是数据库接口没写对
那个问题解决了
但是又出现了上面log的新问题。
大家帮帮我啊。

这个星期要完成任务。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP