免费注册 查看新帖 |

Chinaunix

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

postfix+ldap配置问题!!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-10-17 13:14 |只看该作者 |倒序浏览
main.cf:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
mydestination = $myhostname, localhost.$mydomain, localhost
myhostname = mail.testdomain.local
mynetworks = 10.×.1.0/24, 127.0.0.0/8
myorigin = $myhostname
relay_domains = testdomain.local
virtual_alias_maps = ldap:/etc/postfix/ldap-aliases.cf

ldap-aliases.cf如下:

server_host = ldap://127.0.0.1:389
search_base = ou=ldapusers,dc=testdomain,dc=local
scope = sub
query_filter = (mail=%s)


smtp服务器和pop都能找到,但是登陆smtp服务器时错误提示为验证失败,但是我没有设置smtp验证啊。。
错误信息: connect to testdomain.local[127。0。0。1]: Connection refused

论坛徽章:
0
2 [报告]
发表于 2006-10-17 14:41 |只看该作者
顶。。。

论坛徽章:
0
3 [报告]
发表于 2006-10-18 07:52 |只看该作者
看看你的防火墙设置

论坛徽章:
0
4 [报告]
发表于 2006-10-18 08:50 |只看该作者
防火墙没开~~ 是否可能是ldap的问题

论坛徽章:
0
5 [报告]
发表于 2006-10-18 23:34 |只看该作者
smtpd.conf
log_level:7
pwcheck_method:saslauthd
auth_mechLAIN LOGIN
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP