Andrew J Herbert <[EMAIL PROTECTED]> wrote:
>
> OpenLDAP, the pam_ldap and nss_ldap modules from padl.com, the UW IMAP
> server, regular qmail (not qmail-ldap).
>
> I have no qmail users or cdb files.
>
> Here is what /var/qmail/bin/qmail-getpw herbie | tr '\0' '\n' produces:
> herbie
> 39500
> 3
> /homes/homefarm/herbie
>
> Herbie (me) has an account on the machine and an entry in /etc/passwd
>
> /var/qmail/bin/qmail-getpw judygs | tr '\0' '\n'
> judygs
> 11371
> 20
> /homes/home21/judygs
>
> Judy has only an entry in the LDAP database, but the results of
> qmail-getpw are the same. Here are judy's permissions:
>
> drwx------ 4 judygs users 103 Jun 25 12:44
> /homes/home21/judygs
>
> drwx------ 5 judygs users 92 Jun 13 15:00
> /homes/home21/judygs/Maildir/
>
> drwx------ 2 judygs users 35 Jun 13 15:00 cur
> drwx------ 2 judygs users 2975 Jun 13 15:00 new
> drwx------ 2 judygs users 35 Jun 13 15:00 tmp
>
> Yet I can receive mail, and Judy cannot.
That looks good. But what about the directories leading up to judygs' home
directory? Are they all at least r-x for her UID or default GID?
Specifically, what is the output of:
ls -lind / /homes /homes/home21 /homes/home21/judygs/ /homes/home21/judygs/*
I'm concerned that UID 11371 is not "judygs" or that GID 20 is not group
"users", or that the parent directories are not r-x for them.
Since qmail-getpw is successful for judygs, what appears in the qmail-send
logs when you send a message to her? qmail should be logging something when
it tries to do a local delivery to her.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------