Hi there,

Look like im not the first person to have this problem, but I have tried
everything that I can think of and I still cant solve this one.

I am working on setting up my mail server. I am using Qmail-ldap and
courier-imap. 

I followed the doc at http://www.linuxwithin.com/email-howto.html

This instructed me to create a directory /home/vmail where the Maildirs
will be stored. 
        /home
          vmail
             davep
               Maildir
                 cur
                 new
                 tmp

The whole directory structure is owned by the vmail user and chmod is 700.

Qmail is working fine. All users are stored in LDAP. The mailmessagestore
attribute is set to /home/vmail/davep  and I do not have an attribute set
for homeDirectory. POP3 is also working fine. I can send and recieve
messages through this server, I cannot use an IMAP client. I just get
errors at imaplogin. (see syslog)

I have tried various things:

        - I have changed the LDAP_HOMEDIR to use homeDirectory, and in
          LDAP added homeDirectory to /home/vmail/davep
                same results

        - I set (in LDAP) homeDirectory to /home/davep and set a symlink
          to Maildir -> /home/vmail/davep/Maildir Also tried chmod 777 the
          Maildir
                same results

        - I tried setting LDAP_MAILDIR to an attribute that had full path
          to Maildir, I also tried ./Maildir/ 
                same results

If anyone has any insight as to what I need to do it would be GREATLY
appreciated at this point.

Also, do I need to restart courier-authdeamon after everytime I change the
authldaprc file? I have been just to be sure, but is it needed?

thanks

=-=- syslog
Feb 22 12:51:15 hostname imaplogin: Connection, ip=[::ffff:68.144.21.215]
Feb 22 12:51:16 hostname imaplogin: chdir: No such file or directory

=-=-=-


=-=- authldaprc

LDAP_SERVER             localhost
LDAP_PORT               389
LDAP_BASEDN             ou=people,dc=davesbox,dc=kicks-ass,dc=net
LDAP_BINDDN             cn=admin,dc=davesbox,dc=kicks-ass,dc=net
LDAP_BINDPW             secret    
LDAP_TIMEOUT            5
LDAP_MAIL               uid
LDAP_GLOB_UID           vmail
LDAP_GLOB_GID           vmail
LDAP_HOMEDIR            mailmessagestore   
LDAP_FULLNAME           cn
LDAP_CLEARPW            userPassword
LDAP_DEREF              never
LDAP_TLS                0

=-=-=-


=-=- LDAP

hostname:/home/davep# /var/qmail/bin/qmail-ldaplookup -u davep -p
secret

init_ldap:      passwords are not compared via rebind
                localdelivery:   on
                clustering:      off
                ldapobjectclass: 
                homedirmaker:    /var/qmail/bin/dirmaker
                defaultDotMode:  ldaponly
                defaultQuota:    
                QuotaWarning:
------
undefined
------
qldap_lookup:   searching with (uid=davep)
qldap_lookup:   succeeded, found:
                uid: davep
                qmailUID: 1010
                qmailGID: 1005
                accountStatus: undefined
                mailMessageStore: /home/vmail/davep/
                homeDirectory: (null pointer)
                mailHost: (null pointer)
                mail: [EMAIL PROTECTED]
                mailAlternateAddress: [EMAIL PROTECTED]
                                 [EMAIL PROTECTED]
                mailQuota: no entry in the database
                mailForwardingAddress: no entry in the database
                deliveryProgramPath: no entry in the database
                qmailDotMode: no entry in the database
                deliveryMode: no entry in the database
                mailReplyText: no entry in the database
                userPassword: secret
qldap_lookup:   password compare was successful

=-=-=-



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to