j. <[EMAIL PROTECTED]> wrote:
> Hi everyone, my apologies for the somewhat garbled email last night, and to
> Adrian and Charles for bothering to reply to it.. :) I wasn't thinking that
> clearly as it was really late..however, yes, "virtualhosts" was a typo, and
> I may not have been clear about some other details. What it all boils down
> to is that I am fairly sure that I have everything set up correctly; if I
> change the line 'hostname.com:user-ext' to 'hostname:alias-ext' in
> /var/qmail/control/virtualdomains, it will read ~alias/.qmail-ext-* and
> process it just fine, but if I change it to 'hostname.com:user-ext' and
> place ~user/.qmail-ext-* files, it totally ignores it and rejects the
> mail to it with 'user not found'.
Probably the user account you've set up isn't considered a user by
qmail. From the man page for qmail-getpw:
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.
Post the output of qmail-showctl (unedited, please) along with with
output of `ls -ld ~user ~user/.qmail*` (changing user to be the username
of the account you set up, of course).
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------