Ian Roberts wrote:
Something is wrong - the authtest thinks the homedir is:
Home Directory: /home/sdm.rb29
whilst maildrop thinks the homedirectory is
maildrop -V 3 -d john.doe maildrop: Changing to /home/john.doe
which is correct?
my typo mistake, the output is correct, the mistake is me changing the
username
On 19 Jun 2008, at 15:07, kemas henry wrote:
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,