Hi, I'm trying to set up a proxying Courier-IMAP server using LDAP authentication.
So far, I have: - User authentication via LDAP - A functioning Courier-IMAP server hosting user accounts : imap-uk.u4eatech.com - A non-functioning Courier-IMAP server which I want to act as the proxy : imap-france.france.u4eatech.com The courier-imap servers are running Debian (Etch), with the Debian-supplied packages : # dpkg-query -p courier-imap | grep Version Version: 4.1.1.20060828-5 I've got more or less everything configured as per the instructions, the problem I am having is that the proxy doesn't seem to recognise that the proxy host is setup. Strangely, however, authdaemon is finding the proxy host in LDAP just fine. I have the following logs from Courier: Jun 22 16:37:19 imap-france authdaemond: one entry returned, DN: uid=jamesc,ou=People,dc=u4eatech,dc=com Jun 22 16:37:19 imap-france authdaemond: authldaplib: sysusername=<null>, sysuserid=2093, sysgroupid=1000, homedir=/home/jamesc, address=jamesc, fullname=James Cort, maildir=<null>, quota=<null>, options=mailHost=imap-uk.u4eatech.com Jun 22 16:37:19 imap-france authdaemond: rebinding with DN 'uid=jamesc,ou=People,dc=u4eatech,dc=com' to validate password Jun 22 16:37:19 imap-france authdaemond: authentication bind successful Jun 22 16:37:19 imap-france authdaemond: Authenticated: sysusername=<null>, sysuserid=2093, sysgroupid=1000, homedir=/home/jamesc, address=jamesc, fullname=James Cort, maildir=<null>, quota=<null>, options=mailHost=imap-uk.u4eatech.com Jun 22 16:37:19 imap-france imapd: proxy enabled, but no proxy host defined for jamesc Jun 22 16:37:19 imap-france imapd: jamesc: chdir(/home/jamesc) failed!! Jun 22 16:37:19 imap-france imapd: error: No such file or directory My authldaprc reads as follows: LDAP_AUTHBIND 1 LDAP_AUXOPTIONS mailhost=mailHost LDAP_BASEDN ou=People,dc=u4eatech,dc=com LDAP_BINDDN cn=imap,dc=u4eatech,dc=com LDAP_BINDPW [SECRET] LDAP_CRYPTPW userPassword LDAP_DEREF never LDAP_FULLNAME cn LDAP_GID gidNumber LDAP_HOMEDIR homeDirectory LDAP_MAIL uid LDAP_PROTOCOL_VERSION 3 LDAP_TIMEOUT 5 LDAP_TLS 0 LDAP_UID uidNumber LDAP_URI ldap://ldap-france.france.u4eatech.com I don't allow anonymous reading/searching of LDAP, hence I have configured both LDAP_AUTHBIND and LDAP_BINDDN/LDAP_BINDPW. My entry in LDAP contains: # jamesc, People, u4eatech.com dn: uid=jamesc,ou=People,dc=u4eatech,dc=com uid: jamesc gidNumber: 1000 homeDirectory: /home/jamesc cn: James Cort uidNumber: 2093 mailHost: imap-uk.u4eatech.com I can't find any suggestion as to why this should happen in the archives; is anyone able to shed some light? -- U4EA Technologies http://www.u4eatech.com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Courier-imap mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
