免费注册 查看新帖 |

Chinaunix

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

请教postfix测试时出现的错误提示。(做了很久没搞出来,) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-08-09 19:59 |只看该作者 |倒序浏览
大家好:
我邮件服务器在freebsd用
telnet localhost 25 测试的时候出现这个错误。
我把整个过程写出来。。(红色为我输入的命令)

#telnet localhost 25

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.openkaku.jp ESMTP Postfix
ehlo mail
250-mail.xxxxxx.com
250-PIPELINING
250-SIZE 20480000
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
auth login
334 VXNlcm5hbWU6
dGVzdEB0ZXN0LmNvbQ==
334 UGFzc3dvcmQ6
MDAwMDAw
535 5.7.0 Error: authentication failed: authentication failure
Connection closed by foreign host.

请问这个是什么原因。。一直在线等待。。

着急。。。。

论坛徽章:
0
2 [报告]
发表于 2007-08-09 20:24 |只看该作者

re

典型的验证失败,建议到postfix china论坛瞅瞅。

论坛徽章:
1
寅虎
日期:2013-09-29 23:15:15
3 [报告]
发表于 2007-08-09 20:56 |只看该作者
后台用什么? mysql还是ldap?

论坛徽章:
0
4 [报告]
发表于 2007-08-09 21:06 |只看该作者
用的mysql的。

论坛徽章:
1
寅虎
日期:2013-09-29 23:15:15
5 [报告]
发表于 2007-08-09 21:27 |只看该作者
噢,mysql不熟,ldap的话可以讨论一下.

论坛徽章:
0
6 [报告]
发表于 2007-08-15 21:43 |只看该作者
看看日志吧

论坛徽章:
0
7 [报告]
发表于 2007-08-20 11:43 |只看该作者
maillog现在是

Aug 20 12:38:05 www postfix/smtpd[74326]: warning: localhost[127.0.0.1]: SASL login authentication failed: authentication failure

论坛徽章:
0
8 [报告]
发表于 2007-08-20 11:44 |只看该作者
我用
# authtest -s smtp test@test.com testtest

Authentication succeeded.

Authenticated: test@test.com (uid 1003, gid 1003)
Home Directory: /home/domains/test/
Maildir: /home/domains/test/
Quota: 104857600
Encrypted Password: $1$arkpNj27$G1MgP48aPWRALrRyX/ecs1
Cleartext Password: testtest
Options: wbnodsn=1
www# authtest -s smtp test@test.com testtest
Authentication succeeded.

Authenticated: test@test.com (uid 1003, gid 1003)
Home Directory: /home/domains/test/
Maildir: /home/domains/test/
Quota: 104857600
Encrypted Password: $1$arkpNj27$G1MgP48aPWRALrRyX/ecs1
Cleartext Password: testtest
Options: wbnodsn=1


测试是通过的,但是用

telnet localhost 25

就报

535 5.7.0 Error: authentication failed: authentication failure
错误。

论坛徽章:
0
9 [报告]
发表于 2007-11-23 11:47 |只看该作者
測試SMTP驗證,可以通過郵件客戶端,例如:foxmail outlook express 等,測試起來更簡單明了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP