Gary Tremblay <[EMAIL PROTECTED]> wrote:
> My mail log file shows this error for 7 new users I thought I setup
> correctly:
> Unable_to_chdir_to_maildir._(#4.2.1)
[...]
> All I did was add 7 new users to a system that already had 10 users
> setup and working correctly. (Setup by somebody else, by the way)
>
> For a windows based guy, qmail is a little difficult to figure out. I
> simply copied and renamed one of the existing users Maildir folders.
Copying it might result in wrong ownership of the Maildir and it's
subdirectories. The command `maildirmake` will create a Maildir with
its three subdirectories (tmp, new, and cur). They all have to be owned
by the user to work.
And what do you mean by renamed? In its simplest form, a Maildir is just
named "Maildir" and is located in the user's home directory. Your default
delivery instruction is then "./Maildir/". You shouldn't need to rename
the Maildir.
> Then I copied and renamed one of the existing Alias folders and
> edited the home directory name for each new user.
Again, not sure what you mean by an alias folder. Do you mean a
.qmail-something file in the home directory of user "alias"?
These aren't necessary for local users.
> I've checked the permissions and owernship on the Maildir folder and
> sub-folders and they are identical to the users who are working correctly.
Well, there's obviously something different going on here. For starters,
how about showing us the result of `ls -ld ~USER ~USER/Maildir ~USER/Maildir/*`
for both a user that works, and one that doesn't? Also, post the output
of `qmail-showctl`. And don't change any of the host/usernames for the sake
of "security". We need the real information to find the problem.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------