[ILUG] Configuring Postfix as backup MX host

From: Niall O Broin (niall at domain linux.ie)
Date: Mon 20 Aug 2001 - 18:05:08 IST


The Postfix FAQ says

Configuring Postfix as backup MX host
 
 When you are SECONDARY MX for some other domain this is all you need:
  
      DNS:
the.backed-up.domain.name IN MX 100 your.machine.name
 
/etc/postfix/main.cf:
           relay_domains = the.backed-up.domain.name

but there has to be a mit more to it than that, surely. What will postfix do
with incoming mail for the.backed-up.domain.name ? What will happen if you
have joe at domain your.domain.name and joe at domain the.backed-up.domain.name and you haven't
got it taken care of in virtual (which I don't want to do) ?

I never thought about it much, but it was more or less my understanding that
the mail was thrown into a big box marked "Mail for the.backed-up.domain.name"
and that when the primary came back up, the secondary would forward the box to
it. I manage a box which is hosted in Esat's web farm and for which one of
Esat's boxes is secondary and that's how it seems to work there. I have
Postfix running on that box and when the box (or Postfix) is down, mail just
piles up on Esat's box and automagically gets forwarded when the box (or
Postfix) comes back up. So, what do I have to do with Postfix to make it
behave like that box of Esat's ?

Regards,

Niall

P.S. Yes, I (and numerous others :-( ) have just had a weekend without email,
and I want to get it sorted. I know remote MTAs will take care of most of it
but still I really should have a secondary.



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:11:44 GMT