Aah, now this is an interesting thing, I can run qmail-getpw from the
command line, and it finds all the correct information, using the LDAP
lookup (this is using regular qmail with nss_ldap), the permissions on the
users home directory look OK (owned by user 700) as does the Maildir and
there is a .qmail file (owned by user 644) which contains ./Maildir/ so
why isn't mail being delivered?
Suggestions anyone?
herbie
______________________________________________________________________________
This is an email, an electronic Post-It note.
Keep your Inbox tidy and dispose of it in a timely fashion.
On Mon, 25 Jun 2001, Charles Cazabon wrote:
> Andrew J Herbert <[EMAIL PROTECTED]> wrote:
> >
> > How does qmail look up local users anyway? Why won't it work with
> > nss_ldap?
>
> If the qmail-users mechanism is configured, that's used -- `man qmail-users`
> for details. Fallback is qmail-getpw, which relies on the system's
> implementation of the getpwnam() function.
>
> stock qmail doesn't know anything about LDAP. I don't know if LDAP-patched
> qmail gets user information in a different way. If not, you could dump your
> LDAP users information through qmail-pw2u and qmail-newu to use the
> qmail-users mechanism.
>
> Charles
> --
> -----------------------------------------------------------------------
> Charles Cazabon <[EMAIL PROTECTED]>
> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
> -----------------------------------------------------------------------
>