Andrew J Herbert <[EMAIL PROTECTED]> wrote:
>
> The admins in the /etc/passwd file can receive mail, but the users on the
> LDAP server can't.
>
> However if I run qmail-getpw from the command line it retrieves the users
> information no problem, same as with the admins. The permissions on the
> Maildirs and homedirs are all fine, as are ownerships. So I can't
> understand why qmail still refuses to deliver.
>From the qmail-getpw man page (just for clarity's sake):
qmail-getpw considers an account in /etc/passwd to be a user if (1)
the account has a nonzero uid, (2) the account's home directory exists
(and is visible to qmail- getpw), and (3) the account owns its home
directory. qmail-getpw ignores account names containing uppercase
letters. qmail-getpw also assumes that all account names are shorter than
32 characters.
Are all of these conditions true for your LDAP users? What is the exact
output of the command:
qmail-getpw ldap_user_name | tr '\0' '\n'
> The fact the qmail-getpw seems to work is what confuses me.
You said you're not using qmail-users. Does qmail-LDAP still use qmail-getpw
then? If not, that would explain this, if you're actually using qmail-LDAP (I
can't remember if you said you were).
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------