On Fri, Feb 26, 1999 at 08:24:07AM +0100, Gianluca Baldo wrote:
> I'm new to qmail and I need to set up a server before the end of this
> week and I need help :-)
>
> dixitcom.com is the server (***all @dixitcom.com email addresses work
> fine***).
> On the same machine I have (as an Apache Virtual Server with different
> IP) also truchos.com.
> MX record for mail.truchos.com points to another IP on the same
> dixitcom.com host.
>
> I tried to set up e-mail address for truchos.com doing the following:
>
> 1. I created a POP user truchos
> 2. I added truchos.com:truchos to control/virtualdomains
> 3. truchos.com is in my control/locals and in my control/rcpthosts
> 4. I added (to have [EMAIL PROTECTED])
> =truchos-webmaster:truchos:uid:gid:/home/truchos:luca::
> to users/assign, meaning that truchos has charge for
> [EMAIL PROTECTED] and that the .qmail file
> is /home/truchos/.qmail-webmaster (I tried a
> "&[EMAIL PROTECTED]" to start).
> uid and gid are the user ID and the group ID for truchos.
> 5. I did qmail-newu
> 6. .qmail-webmaster has owner truchos:popusers and mod 0700
> 7. >>I restarted the machine<<
>
> If I try to send a message to [EMAIL PROTECTED] I get (in
> /var/log/maillog)
> >>Sorry, no mailbox here by that name<<
>
> It looks like qmailignores the "truchos.com:truchos" directive in
> users/assign at all.
> Has somebody has an idea of what am I doing wrong?
You've added truchos.com to control/locals, which hides the fact that it's in
control/virtualdomains. You should never have a host in both locals and
virtualdomains.
Chris