2 messages in net.sourceforge.lists.courier-maildrop[maildropl] ldap support?!
FromSent OnAttachments
Zoltan Gyula BeckApr 22, 2005 5:25 pm 
Sam VarshavchikApr 22, 2005 6:14 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] ldap support?!Actions...
From:Zoltan Gyula Beck (bec@gmail.com)
Date:Apr 22, 2005 5:25:10 pm
List:net.sourceforge.lists.courier-maildrop

Hi!

I'm new in this list maybe my question is stupid but I can't found answare for my questions. I've Debian Linux Sarge system, courier mail server installed. I installed courier-maildrop 0.47-4. I placed maildropldap.cf in /etc/courier/ with content: hostname beckzg.no-ip.org basedn dc=beckzg,dc=no-ip,dc=org filter (&(&(objectclass=VirtualMailAccount)(mail=%s))(accountActive=TRUE)(delete=FALSE)) binddn cn=phamm,o=hosting,dc=beckzg,dc=no-ip,dc=org bindpw secure timeout 5 search_method mail default_uidnumber 15002 default_gidnumber 15001 mail_attr mail maildir_attr mailbox homedirectory_attr vdHome quota_attr quota

My ldap entries looks like: dn: mail=te@beckzg.no-ip.org,vd=beckzg.no-ip.org,o=hosting,dc=beckzg,dc=no-i p,dc=org objectClass: top objectClass: VirtualMailAccount objectClass: Vacation objectClass: amavisAccount objectClass: VirtualForward mail: te@beckzg.no-ip.org sn: AAAA vdHome: /mail/domains mailbox: beckzg.no-ip.org/test/ quota: 10485760 userPassword:: e0NSWVBUfVRHR2g3QmFCWGZGSVk=

When I try maildrop I got the following error: maildrop -d te@beckzg.no-ip.org Invalid user specified.

With strace I tried to debug but without succes, in syslog I got: filter: (&(objectClass=posixAccount)(uid=te@beckzg.no-ip.org)) but this not what I set in maildropldap.cf or this isn't the right place or name for ldap config?

Best Regards Zoltan