Andrew J Herbert <[EMAIL PROTECTED]> wrote:
> Yes, I'm embarassed to admit that was indeed the fault. I had just tried
> creating new users, and realised they couldn't access their own homedirs
> and it clicked.

Excellent.

> For the record qmail was less than helpful in it's logging errors merely
> saying.
> 
> Jun 28 11:47:36 willow QMAIL: 993746856.402721 delivery 19: failure:
> Sorry,_no_mailbox_here_by_that_name._(#5.1.1)

This was one of the things that helped, actually -- if you read the following
snippet of the qmail-getpw man page carefully:

    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.

In this case, the user's home directory wasn't visible to qmail-getpw or to
the user -- therefore, it wasn't a valid local user to qmail, and the above
error is appropriate.

But that's picking nits.  It would be nice in some situations to be able to
explicitly log "can't see homedir" or such.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------

Reply via email to