execute the following:
qmail-ldaplookup -u <uid>
qmail-ldaplookup -m <email>

and look for errors. If you don't find any, post the output on the list.

Franky

-----Original Message-----
From: Patrick Wayne Tan [mailto:[EMAIL PROTECTED]]
Sent: donderdag 17 mei 2001 9:39
To: Yim, Koon-Fu; [EMAIL PROTECTED]
Subject: RE: qmail-ldap not working


I'm sorry. Thought I've sent it earlier.

Here's my user entry (I'm sorry it's a bit rough coz I'm still testing out
the system)
        uid=test5, dc=battusai, dc=25by8
        objectclass=top
        objectclass=person
        objectclass=qmailUser
        objectclass=mailRecipient
        cn=Test5 test
        sn=Test5
        [EMAIL PROTECTED]
        uid=test5
        userpassword=test5
        mailmessagestore=/var/qmail/maildirs/test5
        mailhost=localhost
        accountstatus=active
        deliverymode=normal
        maildir=/var/qmail/maildirs/test5
        homedirectory=/home/test5

I've set these controls
        ldapbasedn : dc=battusai,dc=25by8
      ldaplogin : cn=Manager,dc=battusai,dc=25by8
      ldapuid : 501 (id number of system user patrick)
        quotawarning: Mail quota exceeded.
        concurrencyincoming : 20
        ldapcluster : 0
      ldapmessagestore : /var/qmail/maildirs
        locals : battusai.25by8
        defaultdelivery : ./Maildir/
        ldapdefaultquota : 30000000S, 10000C
        ldappassword : secret
        maxrcptcount : 0
        rcpthosts : battusai.25by8
        defaultdomain : battusai.25by8
        ldapgid : 501 (patrick group)
        ldapserver : localhost
        me : battusai.25by8
        relaymailfrom :
        dirmaker : #!/bin/sh
                        mkdir -m 700 -p $1
        ldaplocaldelivery : 1
        ldaptimeout : 30
        plusdomain : battusai.25by8
        tarpitcount : 25
        tarpitdelay : 0

TY!

-----Original Message-----
From: Yim, Koon-Fu [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 2:29 PM
To: [EMAIL PROTECTED]; Patrick Wayne Tan
Subject: RE: qmail-ldap not working


Again show your LDAP entry and control files to us. we cannot guess your
config from the error log.

KF

        ----------
        From:  Patrick Wayne Tan [SMTP:[EMAIL PROTECTED]]
        Sent:  Thursday, May 17, 2001 2:21 PM
        To:  Yim, Koon-Fu; [EMAIL PROTECTED]
        Subject:  RE: qmail-ldap not working

        BTW Here's the error message from the logs.

        delivery 10: deferral:
        Unable_to_open_/var/qmail/maildirs/test5:_is_a_directory._(#4.2.1).

        What do you think?

        -----Original Message-----
        From: Yim, Koon-Fu [mailto:[EMAIL PROTECTED]]
        Sent: Thursday, May 17, 2001 11:48 AM
        To: [EMAIL PROTECTED]; Patrick Wayne Tan
        Subject: RE: qmail-ldap not working


        What is the user entry you added to LDAP and what are your defined
        /var/qmail/control files.

        KF

                ----------
                From:  Patrick Wayne Tan [SMTP:[EMAIL PROTECTED]]
                Sent:  Thursday, May 17, 2001 11:40 AM
                To:  Yim, Koon-Fu; [EMAIL PROTECTED]
                Subject:  RE: qmail-ldap not working

                Thanks!

                I had this error when I ran /var/qmail/bin/qmail-ldaplookup
-u uid..

                       WARNING qmailUID is out of range (100...65535)
                        WARNING qmailGID is out of range (100...65535)

                What entry should I be putting into the control? COuld this
be any
        system
                user?

                -----Original Message-----
                From: Yim, Koon-Fu [mailto:[EMAIL PROTECTED]]
                Sent: Thursday, May 17, 2001 9:30 AM
                To: [EMAIL PROTECTED]; Patrick Wayne Tan
                Subject: RE: qmail-ldap not working



                *       Add LDAP user entries and home directories for
testing
                *       Add LDAP related control files
                *       make sure the LDAP server is up and running
                *       run /var/qmail/bin/qmail-ldaplookup -u uid to verify
LDAP
        entries

                Sample qmail control files:
                ldapbasedn
                ou=people, o=domain.com
                ldapcluster
                0
                ldapdefaultdotmode
                both
                ldapdefaultquota
                20000000S,1000C
                ldaplocaldelivery
                0
                ldaplogin
                cn=Directory Manager
                ldappassword
                password
                ldaprebind
                1
                ldapserver
                10.0.1.27

                The LDAP related control files should match the LDAP
information in
        your
                slapd.conf.  e.g. ldapbasedn, ldapserver, ldappassword

                KF
                        ----------
                        From:  Patrick Wayne Tan [SMTP:[EMAIL PROTECTED]]
                        Sent:  Wednesday, May 16, 2001 5:22 PM
                        To:  [EMAIL PROTECTED]
                        Subject:  qmail-ldap not working

                        Hi all,

                        I have set everything up including controls and
stuff. But
        still my
                        recipients are not receiving their email. What
controls or
        ldap
                attributes
                        should I be checking to make sure that mail is
delivered
        properly?
                How do I
                        access the logs?

                        I have already set my recipients and maildirs based
on
        openldap-1.2
                and I
                        access my mail using courier-imap.

                        BTW I have installed Qmail previously which was
working fine
        with
                        courier-imap.

                        Thanks in advanced!

Reply via email to