my first installation runs into trouble, please help ...

frankly, i am *not* too sure if this question should be asked here or at the
qmail-ldap list. however, my /var/log/maillog says:

Jan 11 08:26:20 svrA imapd: chdir: No such file or directory
Jan 11 08:26:22 svrA imapd: Connection, ip=[::ffff:192.168.1.31]

which prompted me to seek help here.

Those messages from maillog came whenever i do a telnet to the imap server like
so:
[root@svrA ldap]# telnet imap.example.com 143
Trying 192.168.1.31...
Connected to imap.example.com.
Escape character is '^]'.
* OK Courier-IMAP ready. Copyright 1998-2002 Double Precision, Inc.  See
COPYING for distribution information.
. login roger rogersecret
Connection closed by foreign host.
[root@svrA ldap]#


My servers setup as follows:
- svrA consisted of ldap and courier-imap
- svrB consisted of apache, php and qmail with qmail-ldap patch

My courier authldaprc file looks like:
LDAP_SERVER             ldap.example.com
LDAP_PORT               389
LDAP_BASEDN             dc=example,dc=com
LDAP_BINDDN             cn=courier,o=Administrators,dc=example,dc=com
LDAP_BINDPW             couriersecret
LDAP_TIMEOUT            5
LDAP_AUTHBIND           0
LDAP_MAIL               mail
LDAP_DOMAIN             example.com
LDAP_GLOB_UID           vmail
LDAP_GLOB_GID           vmail
LDAP_HOMEDIR            mailMessageStore
LDAP_MAILDIR            mailMessageStore
LDAP_FULLNAME           cn
LDAP_CRYPTPW            userPassword
LDAP_MAILDIRQUOTA       mailQuota


on svrB I have successfully setup qmail-ldap and i can do user with password
lookup with qmail-ldaplookup like so:
[root@svrB qmail]# /var/qmail/bin/qmail-ldaplookup -u roger -p rogersecret
init_ldap:      passwords are not compared via rebind
                localdelivery:   off
                clustering:      on
                ldapobjectclass:
                homedirmaker:    /var/qmail/bin/custom_dirmaker
                defaultDotMode:  ldaponly
                defaultQuota:    6000000S, 6000C
                QuotaWarning:
------
You are about to be over your quota.  Please clean your mailbox.

------
qldap_lookup:   searching with (uid=roger)
qldap_lookup:   succeeded, found:
                uid: roger
                qmailUID: 600
                qmailGID: 600
                accountStatus: active
                mailMessageStore: /var/qmail/maildirs/roger/Maildir/
                homeDirectory: /var/qmail/maildirs/roger/
                mailHost: mail2.example.com      -----> note: this is svrB
                mail: [EMAIL PROTECTED]
                mailAlternateAddress: no entry in the database
                mailQuotaSize: 1000000
                mailQuotaCount: 1000
                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
                mailSizeMax: no entry in the database
                userPassword: {SHA}sJfC7rrrwpxG5joIEeONrG0CAwI=
qldap_lookup:   password compare was successful


Side-note: I have sent [EMAIL PROTECTED] an email and qmail-ldap have
successfully created that in /var/qmail/maildirs/roger/Maildir/

QUESTION
--------
why does courier complaint with this message (from the maillog above) ?
Jan 11 08:26:20 svrA imapd: chdir: No such file or directory

Does courier try to look for /var/qmail/maildirs/roger/Maildir/ in svrA ?
(which of course does *not* exist)

If this is the case, how to I tell courier to look for that dir
(/var/qmail/maildirs/roger/Maildir/) in svrB instead?
Do I have to install courier in svrB :((  ?

Please advise soonest.

--
roger


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to