Re: [maildropl] maildrop: Unable to change to home directory
Brought to you by:
mrsam
From: kemas h. <kem...@ra...> - 2008-06-19 14:24:02
|
> > On Thu, Jun 19, 2008 at 9:33 AM, kemas henry > <kem...@ra... <mailto:kem...@ra...>> 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, |