postfix+ldap

LDAP-client:
/usr/ports/net/openldap23-client/

#———————–
# имя Windows-домена
ldapmap_search_base = dc=office, dc=company, dc=ru
# IP-адрес PDC
ldapmap_server_host = 192.168.16.1
# LDAP-порт
ldapmap_server_port = 3268
ldap_timeout = 60
ldapmap_query_filter = (&(proxyAddresses=smtp:%s)(|(objectClass=user)(objectClass=group)(objectClass=contact)))
ldapmap_result_filter = %s
ldapmap_result_attribute = canonicalName
ldapmap_special_result_attribute =
ldapmap_scope = sub
ldapmap_bind = yes
ldapmap_bind_dn = ldapquery@office.company.ru
ldapmap_bind_pw = LdaPassworD
ldapmap_cache = no
ldapmap_dereference = 0
ldapmap_domain = office.company.ru
ldapmap_debuglevel = 0
virtual_mailbox_maps = ldap:ldapmap
virtual_mailbox_domains = company.ru
#————

http://www.samag.ru/art/07.2005/07.2005_09.html

Leave a Reply

Your email address will not be published. Required fields are marked *