Hey Folks,

i am trying to get Dovecot LDA to work with Active Directory

dovecot --version
1.2.9

While using Postfix to deliver mail, dovecot does only imap-Services, passdb is auth bind and userdb is static.

NOW i want to use Sieve Scripts. So LDA of dovecot is required. So userdb lookup is required. With use of virtual Mailboxes i have a working postfix setup, which needs to be transferred to dovecot.

dovecot-ldap-userdb.conf

uris = ldap://192.168.0.42
auth_bind = yes
dn = myldapu...@mydomain
dnpass = mypass
#ldap_version = 3
base = DC=base,DC=com
deref = never
scope = subtree
user_attrs = sAMAccountName=mail=maildir:/home/vmail/%$/.EMAIL, =uidNumer=5000, =gidNumber=5000

user_filter = (&(objectClass=user)(|(sAMAccountName=%u)(mail=%u)(othermailbox=%u)))
pass_attrs = sAMAaccountName=user,userPassword=password
pass_filter = (&(objectClass=person)(sAMAaccountName=%u))


My errors are:

- While logging in with IMAP
2010-11-10 00:32:30 imap-login: Error: Timeout waiting for handshake from auth server. my pid=16293, input bytes=0

- manual execution of deliver -d [email protected]:
010-11-10 00:34:16 deliver([email protected]): Error: userdb lookup(...): Connecting timed out


As i said - postfix works!

Thankx for any help!

Reply via email to