Bob,

This is a common use for mailservers.  It's called backup MX, I believe.

There are two ways to do this.  Naturally, you want to have your DNS
looking something like this:

# host domain.net
domain.net mail is handled (pri=5) by mx5.domain.net
domain.net mail is handled (pri=10) by mx10.domain.net
domain.net mail is handled (pri=20) by mx20.domain.net
domain.net mail is handled (pri=2) by mx2.domain.net

Let's say that you are delivering all mail to [EMAIL PROTECTED]
Let's say that mx2 hosts your POP boxes or what have you

Then mx10 could be set up with the following config.  Be forewarned
that you don't really /need/ the explicit entry in smtproutes.  If you
want more on this issue, check the mailing list entries for earlier in
the day (today, December 6th, 1999).  There were several discussions
about smtproutes and MX'ing mail.

At any rate, here's what the control files should look like....

rcpthosts
==============
domain.net
.domain.net

smtproutes
==============
domain.net:mx2.domain.net
.domain.net:mx2.domain.net
        
-Martin

On  6 Dec, Bob C. Ruddy wrote:
  : I'm looking to set up a secondary mail server for when my primary is
  : unreachable. I don't want qmail to deliver the email though just queue it
  : up till the primary mail server comes online. I looked through the faq but
  : did not see anything. Can someone point me in the right direction.
  : 
  :                             Bob
  : 

-- 
Martin A. Brown --- SecurePipe Communications --- [EMAIL PROTECTED]

Reply via email to