10 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] maildrop: Unable to c...
FromSent OnAttachments
kemas henryJun 19, 2008 3:29 am 
Sam VarshavchikJun 19, 2008 4:06 am 
kemas henryJun 19, 2008 5:33 am 
Leandro MendesJun 19, 2008 7:03 am 
kemas henryJun 19, 2008 7:07 am 
kemas henryJun 19, 2008 7:18 am 
Ian RobertsJun 19, 2008 7:30 am 
Sam VarshavchikJun 19, 2008 3:39 pm 
kemas henryJun 19, 2008 8:33 pm 
Todd LyonsJun 20, 2008 8:04 am 
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] maildrop: Unable to change to home directoryActions...
From:kemas henry (kema@ramayana.co.id)
Date:Jun 19, 2008 7:07:28 am
List:net.sourceforge.lists.courier-maildrop

On Thu, Jun 19, 2008 at 9:33 AM, kemas henry <kema@ramayana.co.id <mailto:kema@ramayana.co.id>> wrote:

Sam Varshavchik wrote: > kemas henry writes: > >> Hi all, >> >> >> what is "maildrop: Unable to change to home directory" error means? > > It means that maildrop cannot set its current directory to the > account's home directory. > >> because the home directory of the user is owned by the user and now >> world readable or writeable. > > Perhaps what you think the home directory isn't the same as what > maildrop thinks it is. >

please, shed some light on how maildrop works or the home directory as maildrop think. All I know is - maildrop would use the user account id - cd to the account home directory - deliver the message - change quota usage if used

Leandro Mendes wrote:

With what user maildrop is running as?

perhaps root with group mail -rwxr-xr-x 1 root mail 165272 Mar 12 15:42 /usr/local/courier/bin/maildrop

What's the home directory of this user?

I try to run authtest, heres the output authtest john.doe Authentication succeeded.

Authenticated: john.doe (uid 10673, gid 10027) Home Directory: /home/sdm.rb29 Maildir: (none) Quota: (none) Encrypted Password: {MD5}xxx Cleartext Password: (none) Options: disablepop3=0,disableimap=1

Is correct the home directory permissions?

hopefully yes, the permission is right, I use nscd to cache the user info from ldap. I try to turn off nscd, but nothings change

drwx------ 3 john.doe john.doe 4096 Jun 19 16:47 /home/john.doe/

try to run maildrop by hand (with the user) in verbose mode, to get all output.

maildrop -V 3 -d john.doe maildrop: Changing to /home/john.doe maildrop: Unable to change to home directory.

regards,