免费注册 查看新帖 |

Chinaunix

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

[Mail] 求助???在线等待:SASL login authentication failed: generic failure [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-12-17 15:25 |只看该作者 |倒序浏览
1.[root@localhost cyrus-sasl-2.1.20]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 www.btdstudio.com.cn ESMTP "Version not Available"
ehlo www.btdstudio.com.cn           
250-www.btdstudio.com.cn
250-PIPELINING
250-SIZE 14336000
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
auth login
334 VXNlcm5hbWU6
dGVzdEBidGRzdHVkaW8uY29tLmNu
334 UGFzc3dvcmQ6
dGVzdA==
535 5.7.0 Error: authentication failed: generic failure


2.[root@localhost cyrus-sasl-2.1.20]# tail /var/log/maillog
Dec 17 13:17:45 localhost postfix/smtpd[16717]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Dec 17 13:17:45 localhost postfix/smtpd[16717]: connect from localhost.localdomain[127.0.0.1]
Dec 17 13:18:28 localhost postfix/smtpd[16717]: warning: SASL authentication failure: could not verify password
Dec 17 13:18:28 localhost postfix/smtpd[16717]: warning: localhost.localdomain[127.0.0.1]: SASL login authentication failed: generic failure
Dec 17 13:18:28 localhost authdaemond: failed to connect to mysql server (server=localhost, userid=postfix): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)
Dec 17 13:18:42 localhost postfix/qmgr[15314]: 155E78735A: from=<postmaster@change-this-to-your.domain.tld>, size=544, nrcpt=1 (queue active)
Dec 17 13:18:42 localhost postfix/qmgr[15314]: warning: connect to transport maildrop: Connection refused
Dec 17 13:18:42 localhost postfix/error[16719]: 155E78735A: to=<test@btdstudio.com.cn>, relay=none, delay=1086, delays=1086/0.01/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
Dec 17 13:19:04 localhost postfix/smtpd[16717]: too many errors after AUTH from localhost.localdomain[127.0.0.1]
Dec 17 13:19:04 localhost postfix/smtpd[16717]: disconnect from localhost.localdomain[127.0.0.1]



3.[root@localhost cyrus-sasl-2.1.20]# postconf -n
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
inet_interfaces = all
message_size_limit = 14336000
mydestination = $myhostname localhost localhost.$mydomain
mydomain = btdstudio.com.cn
myhostname = www.btdstudio.com.cn
mynetworks = 127.0.0.0/8
myorigin = $mydomain
smtpd_banner = $myhostname ESMTP "Version not Available"
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_hostname, reject_non_fqdn_hostname, reject_unknown_sender_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unauth_pipelining, reject_unauth_destination, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/mysql/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:1001
virtual_mailbox_base = /var/mailbox
virtual_mailbox_domains = mysql:/etc/postfix/mysql/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 20971520
virtual_mailbox_maps = mysql:/etc/postfix/mysql/mysql_virtual_mailbox_maps.cf
virtual_transport = maildrop
virtual_uid_maps = static:1001

有知道的朋友帮帮忙,找了很久都打不了原因,谢谢!

论坛徽章:
0
2 [报告]
发表于 2007-12-17 15:52 |只看该作者
没人知道吗?

论坛徽章:
8
综合交流区版块每周发帖之星
日期:2015-12-02 15:03:53数据库技术版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-09-14 06:20:00金牛座
日期:2014-10-10 11:23:34CU十二周年纪念徽章
日期:2013-10-24 15:41:34酉鸡
日期:2013-10-19 10:17:1315-16赛季CBA联赛之北京
日期:2017-03-06 15:12:44
3 [报告]
发表于 2007-12-17 17:20 |只看该作者
Dec 17 13:18:28 localhost postfix/smtpd[16717]: warning: localhost.localdomain[127.0.0.1]: SASL login authentication failed: generic failure
Dec 17 13:18:28 localhost authdaemond: failed to connect to mysql server (server=localhost, userid=postfix): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)

首先解决连接MySQL的问题.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP