1 message in net.sourceforge.lists.courier-maildrop[maildropl] maildrop+qmail-ldap
FromSent OnAttachments
SunilJul 29, 2002 11:18 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] maildrop+qmail-ldapActions...
From:Sunil (adir@rediffmail.com)
Date:Jul 29, 2002 11:18:41 pm
List:net.sourceforge.lists.courier-maildrop

Hello All

I've set up qmail-ldap+maildrop(compiled with ldap support) in the following way...

qmail run file...

#! /bin/bash exec 2>&1

DEFAULT_DELIVERY="$(egrep -v "(^#|^ *$)" /var/service/qmail/defaultdelivery/rc)" QMAIL_BIN=/var/qmail/bin

exec env - PATH="$QMAIL_BIN:$PATH" \ qmail-start "| /usr/local/bin/maildrop"

/etc/maildropldap.config file...

hostname tux.itisl.net basedn dc=itisl,dc=net filter &(&(objectclass=qmailUser)(accountStatus=active)) binddn uid=root,dc=itisl,dc=net bindpw secret timeout 5 search_method mail default_uidnumber 8 default_gidnumber 8 mail_attr mail uid_attr uid uidnumber_attr qmailUID gidnumber_attr qmailGID maildir_attr mailMessageStore homedirectory_attr mailMessageStore quota_attr mailQuota

/etc/maildroprc file

DEFAULT="./Maildir" DEFAULT_DEF="/var/qmail/maildirs"

Now when I try to send mail the it gets lost and the ldap log file gives the following error..Please give some hints on where things are going wrong...

Jul 30 10:55:03 tux slapd[871]: daemon: conn=2 fd=7 connection from IP=127.0.0.1:1123 (IP=0.0.0.0:34049) accepted. Jul 30 10:55:03 tux slapd[871]: conn=2 op=0 BIND dn="CN=ROOT,DC=ITISL,DC=NET" method=128 Jul 30 10:55:03 tux slapd[871]: conn=2 op=0 RESULT tag=97 err=0 text= Jul 30 10:55:03 tux slapd[871]: conn=2 op=1 SRCH base="dc=itisl,dc=net" scope=2 filter="(|(mail=sun@test.com)(mailAlternateAddress=sun@test.com))" Jul 30 10:55:04 tux slapd[871]: <= equality_candidates db open failed (mailAlternateAddress.gdbm) Jul 30 10:55:04 tux slapd[871]: conn=2 op=1 SEARCH RESULT tag=101 err=0 text= Jul 30 10:55:04 tux slapd[871]: conn=2 op=2 UNBIND Jul 30 10:55:04 tux slapd[871]: conn=-1 fd=7 closed