9 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] per-user uid & ldap
FromSent OnAttachments
Adam DivakApr 9, 2007 2:58 pm 
Petri RiihikallioApr 10, 2007 3:12 am 
Adam DivakApr 10, 2007 7:21 am 
Petri RiihikallioApr 10, 2007 9:43 am 
Divák ÁdámMay 5, 2007 4:35 am 
Petri RiihikallioMay 5, 2007 10:29 am 
Divák ÁdámMay 5, 2007 11:44 am 
Petri RiihikallioMay 7, 2007 9:14 am 
Divák ÁdámMay 7, 2007 3:40 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:Re: [maildropl] per-user uid & ldapActions...
From:Divák Ádám (epe@near.hu)
Date:May 5, 2007 11:44:04 am
List:net.sourceforge.lists.courier-maildrop

Petri Riihikallio wrote:

By enabling DEGUN_LOGIN (and using telnet to login trough IMAP) I could verify that all the necessary information is returned from the LDAP server including the UID/GID.

What was the value returned for "HOMEDIR" in this test case?

By using "su mail" I verified that I could read a users mailbox (owned by the user) so this is working fine, but maildrop still gives the error "Unable to change to home directory". I don't really understand this as maildrop is owned by root and setuid, so it should be able to change to the homedir either as root or mail.

If the path returned for HOMEDIR doesn't exist even root or mail won't be able to change to it, never mind the permissions.

Of course the correct HOMEDIR value was returned from the LDAP server, so that was not a problem. When testing with IMAP it gave the same error: "chdir([path]) failed!!"

Thanks, Adam