亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標題: testsaslauthd: NO "authentication failed" [打印本頁]

作者: liuyuhui_gdtyj    時間: 2013-08-06 10:40
標題: testsaslauthd: NO "authentication failed"
本帖最后由 liuyuhui_gdtyj 于 2013-08-06 10:47 編輯

為排除其它因素,最小化安裝Centos 6.4系統(tǒng),并關閉SELinux ,閉關防火墻,然后進行如下配置:
/etc/sysconfig/saslauthd內容只有兩行:
SOCKETDIR=/var/run/saslauthd
FLAGS=sasldb
/etc/sasl2/smtpd.conf內容有三行:
pwcheck_method: auxprop
auxprop_plugin: sasldb
mech_list: plain login
[root@centos ~]# service saslauthd start
Starting saslauthd:                                        [  OK  ]
創(chuàng)建帳號:
[root@centos ~]# saslpasswd2 -c xyz -u abc.com
Password: (輸入密碼abc)
Again (for verification):
[root@centos ~]# sasldblistusers2
xyz@abc.com: userPassword
測試:
[root@centos ~]# testsaslauthd -u xyz -p abc
0: NO "authentication failed"
[root@centos ~]# testsaslauthd -u xyz@abc.com -p abc
0: NO "authentication failed"
日志:
tail /var/log/messages

Aug  6 10:23:52 centos saslauthd[1208]: do_auth         : auth failure: [user=xyz] [service=imap] [realm=] [mech=shadow] [reason=Unknown]
Aug  6 10:23:59 centos saslauthd[1212]: do_auth         : auth failure: [user=xyz@abc.com] [service=imap] [realm=] [mech=shadow] [reason=Unknown]

RHEL6.4也試過,求解?




歡迎光臨 Chinaunix (http://www.72891.cn/) Powered by Discuz! X3.2