Do you run your own name servers?

You want MX records in your zone file.  If you were using sendmail, I
could tell you what to do to set that end of it up, but I've never used
qmail.

Basically, a mail server is set up using MX records (what host(s) receives
mail for what host(s).

For example,

host1   IN      A       xxx.xxx.xxx.xxx
        IN      MX      10 host1
        IN      MX      20 host2

host2   IN      A       xxx.xxx.xxx.xxx
        IN      MX      10 host1
        IN      MX      20 host2

mail    IN      CNAME   host1
www     IN      CNAME   host2

host1 would be your mail server, host2 your web server.  Both would accept
mail. The lower numbered MX is preferred, though, so host1 will get the
mail unless it is down.  If host1 IS down, host2 will get it, but will
pass it off to host1 when it comes back up.

sendmail is then configured on host1 to be the final recipient for host1
and host2.  It is also configured to send out mail from domain.com rather
than mail.domain.com.  I assume qmail has the same sorts of options.


Simon Hill ([EMAIL PROTECTED])
Operating Systems Specialist
Department of Utilities 
University of Texas

On Wed, 8 Sep 1999, Damon Parker wrote:

> This may not really apply here but someone here surely has dealt with this...
> 
> I have a client that has one Linux box that runs both Apache and 
> qmail.  Mail is sent to [EMAIL PROTECTED] and web pages are served at 
> domain.com and www.domain.com.  I want to split the mail off onto another 
> box but not sure about the domain routing.  They still want mail at 
> domain.com not [EMAIL PROTECTED] and web pages at www.domain.com and 
> domain.com.  Each box will have its own IP.
> 
> The only thing I can figure is to setup web server on the mail box to and 
> just redirect to www.domain.com.
> 
> Any other ideas/solutions?
> 
> Damon Parker
> 
> [EMAIL PROTECTED]
> www.siliconsys.com
> voice 512.478.1669
> data/fax 512.478.1627
> mobile 512.750.9793
> 
> ---------------------------------------------------------------------------
> Send administrative requests to [EMAIL PROTECTED]
> 

---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to