ExtMail服务器社区's Archiver

linuxsupport 发表于 2009-9-15 14:20

如何修改配置文件,实现extmail直接查询AD,透过AD认证

注:假设我的AD:  ad.contoso.com  AD的IP地址:192.168.0.201
POSTFIX+DOVECOT+SLockd+DSpam
部分,我安装装OK, 收发信,通过直接查询AD进行认证, 现在想加装extmail!!!  
hqbbc老大,能否给点意见!!

下面该如何修改!
# if ldap, all relate parameters should prefix as SYS_LDAP
SYS_LDAP_BASE = dc=contoso.com   
SYS_LDAP_RDN = cn=Manager,dc=contoso.com
SYS_LDAP_PASS = secret
SYS_LDAP_HOST = 192.168.0.201
# ldif attributes
SYS_LDAP_ATTR_USERNAME = mail
SYS_LDAP_ATTR_DOMAIN = virtualDomain
SYS_LDAP_ATTR_PASSWD = userPassword
# sys_ldap_attr_clearpw - attribute to save clear password, useful for
# postmaster withdraw the original passwd if the end user forgot, but
# we highly recommend that you don't enable it for security reason
SYS_LDAP_ATTR_CLEARPW = clearPassword
SYS_LDAP_ATTR_QUOTA = mailQuota
SYS_LDAP_ATTR_NDQUOTA = netdiskQuota

mouse 发表于 2009-9-15 15:19

估计这样不行吧?extmail 官方没给出过ad的支持哦。但ldap是早就支持了。帮你顶。看老大们怎么解决。。不过感觉这样意义不大。:lol :lol

liushaobo 发表于 2009-9-15 21:55

应当是一样的,不过我也只是在LDAP上实现的samba和mail

haodea 发表于 2009-9-18 10:21

[quote]原帖由 [i]liushaobo[/i] 于 2009-9-15 21:55 发表 [url=http://www.extmail.org/forum/redirect.php?goto=findpost&pid=65649&ptid=11663][img]http://www.extmail.org/forum/images/common/back.gif[/img][/url]
应当是一样的,不过我也只是在LDAP上实现的samba和mail [/quote]

老大..有文档不?我正在搞这个呢..

linuxsupport 发表于 2009-9-21 17:37

[quote]原帖由 [i]liushaobo[/i] 于 2009-9-15 21:55 发表 [url=http://www.extmail.org/forum/redirect.php?goto=findpost&pid=65649&ptid=11663][img]http://www.extmail.org/forum/images/common/back.gif[/img][/url]
应当是一样的,不过我也只是在LDAP上实现的samba和mail [/quote]


shaobao兄,可以整出来看看!我是一直没有搞成功过,呵呵!!

cyberdna 发表于 2009-9-22 16:47

AD的scheme和LDAP有点不一样,以前曾经考虑过这个问题,后来就是因为架构问题,有几个参数在AD的架构中没有对应关系就放弃了extmail。另外认证也要修改。
目前我用Postfix+dovecot+AD+samba+squirrelmail,运行了有好几年了。

mouse 发表于 2009-9-24 20:27

:funk: :funk:  原来是这样啊!!哪几个属性对不上号??我觉得6楼说出来,老大们应该会解决的!!也希望共享下心得啊!

iteeqg 发表于 2009-9-29 09:57

[quote]原帖由 [i]cyberdna[/i] 于 2009-9-22 16:47 发表 [url=http://www.extmail.org/forum/redirect.php?goto=findpost&pid=66002&ptid=11663][img]http://www.extmail.org/forum/images/common/back.gif[/img][/url]
AD的scheme和LDAP有点不一样,以前曾经考虑过这个问题,后来就是因为架构问题,有几个参数在AD的架构中没有对应关系就放弃了extmail。另外认证也要修改。
目前我用Postfix+dovecot+AD+samba+squirrelmail,运行了有好几年了 ... [/quote]


想请问下,你有没有使用WEBMAIL?

hondasky 发表于 2009-9-29 15:06

回复 8# iteeqg 的帖子

WEBMAIL 这个东西 现在太多了 有几个可以和EXTMAIL的数据结构很好兼容的PHP WEBMAIL 比squirrelmail好多了你到PHP-0PEN这个站去吧 找WEBMAIL 可以找到很多

yoqao_lee 发表于 2011-11-2 13:13

我用的也是Postfix+dovecot+AD+samba+squirrelmail,但是无法实现邮件归档和mailman,不知道可有什么好的方法,大家讨论一下。

linuxsupport 发表于 2011-11-10 11:15

我找到更好的方法了,使用courier-authlib来查询AD,呵呵。

lovemay 发表于 2011-12-14 16:54

我也无法实现邮件归档  怎么整  求教

lovemay 发表于 2012-1-16 17:38

是一样的

页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.