免费注册 查看新帖 |

Chinaunix

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

[Mail] postfix sasl 设置prob [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-11-12 15:53 |只看该作者 |倒序浏览
postfix sasl认证系统用户正常,但虚拟用户报错,如下

[root@dmail etc]# testsaslauthd -u root -p 123321  //系统用户
0: OK "Success."   

[root@dmail etc]# testsaslauthd -u test02@test.cn -p test02  //虚拟用户
0: NO "authentication failed"
+++++++++++++++++++++++++++++++++++++++++++++++++
相关设置如下
[root@dmail etc]# cat /usr/lib/sasl2/smtpd.conf
pwcheck_method: auxprop   <--调用外部sasldb
#saslauthd  //不使用系统的密码
mech_list: plain login
saslauthd_path: /var/run/saslauthd/mux


[root@dmail etc]# cat /etc/sysconfig/saslauthd
# Directory in which to place saslauthd's listening socket, pid file, and so
# on.  This directory must already exist.
SOCKETDIR=/var/run/saslauthd

# Mechanism to use when checking passwords.  Run "saslauthd -v" to get a list
# of which mechanism your installation was compiled with the ablity to use.
#MECH=shadow

# Additional flags to pass to saslauthd on the command line.  See saslauthd(
# for the list of accepted flags.
FLAGS=sasldb2
++++++++++++++++++++++++++++++++++++++++
[root@dmail etc]# saslpasswd2 -u test.cn -c test02 //为test02虚拟用户创建SMTP认证密码
Password: ****
Again (for verification): ****
感觉给利用saslpasswd2为虚拟用户设置了密码,按道理应该testsaslauthd 成功,不知道问题出在那里?
难道说,只能为系统用户设置密码?
还是有别的方法?

请各位共享一下,sasl方面的信息。

论坛徽章:
0
2 [报告]
发表于 2007-12-06 17:03 |只看该作者

回复 #1 zhg2008 的帖子

sasl认证对虚拟用户如何设定啊?

论坛徽章:
0
3 [报告]
发表于 2007-12-11 13:33 |只看该作者

回复 #2 zhg2008 的帖子

top top top
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP