Hello,

        I just installed Qmail today and I am very pleased with it.  The
only problem I seem to be having is virtual domain routing.  I host two
domains on my machine other than the original one (deathvapor.org).  I
am attempting to route all the mail for domain1.com to one account and all
the mail for domain2.com to another account.  Here is a step-by-step of
how I went about attempting this:

I used "./config," so all the virtual hosts on my machine were put into
/var/qmail/control/locals and /var/qmail/control/rcpthosts with their 
respective "www." hostnames (ie: it put www.domain1.com instead of 
domain.com, which seems normal..I think).

I put "domain1.com:zach" on one line of /var/qmail/virtualdomains, and I
restarted qmail.  I sent a mail to "[EMAIL PROTECTED]" and got a returned
mail.  It said:

--begin--

Hi. This is the qmail-send program at dvp.deathvapor.org.
I'm afraid I wasn't able to deliver your message to the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)

--- Below this line is a copy of the message.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 4333 invoked by uid 1000); 4 Mar 1999 05:39:00 -0000
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 4330 invoked by uid 0); 4 Mar 1999 05:39:00 -0000
Date: 4 Mar 1999 05:39:00 -0000
Message-ID: <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: test

test.

--end--

What strikes me odd is the "<[EMAIL PROTECTED]>:" line.  Of
course, it could just be that I am new to QMail's error messages.

Also, I read the portion of the FAQ regarding Virtual Domains and it was
talking about a "~/.qmail-xxx" file.  I am still unclear as to what goes
in this file in order for a user to retrieve mail sent to a virtual
domain, so I wasn't sure what do with it once I created it. If I have
overlooked something in the docs, I apologize (I'm still looking).

So, bascially I just want all mail sent to domain1.com (even to
non-exsistent usernames) to go to user1, all mail sent to domain2.com to
go to user2, and all mail sent to deathvapor.org to work like normal.
Judging by the return message I pasted, can anyone think of anything I
might be missing that I need to do in order to get this to work?

Any help would be appreciated.

Thanks,

Zach Tucker
[EMAIL PROTECTED]

Reply via email to