Re: SMTP failover

From: Bill Vermillion (bv_at_wjv.comREMOVE)
Date: 01/30/04


Date: Fri, 30 Jan 2004 18:55:01 GMT

In article <bvdi20$699$1@newsread.albacom.net>,
Roberto Zini <rob@robnothere.com> wrote:
>Dipen wrote:
>> Hi,

>> Does anyone know how to failover an SMTP server (standard sendmail
>> SMTP server) on Linux?

>> Basically, we have 2 physically servers both acting as SMTP servers.
>> Our email points to the ip address on server #1. If server #1 dies, is
>> there any way we can automatically failover to server #2?

>> Many Thanks in advance!
>> Dipen

>Dunno if you can do it via the MTA but you can by using DNS.

>AFAIK, you can have multiple MX records for a given domani; each
>record may have a priority which tells the preferred server.

>When one is unavailable, the remote MTA will switch to the second
>one in the priority list.

Just be sure you have the second machine set to accept mail for
that domain, otherwise all you will get are error messages
regarding relaying forbidden.

I hadn't had the problem since I forgot to add on yesterday :-)

Bill

-- 
Bill Vermillion - bv @ wjv . com


Relevant Pages

  • Re: Linux vs FreeBSD vs SCO
    ... They don't seem to have the concept of legacy ... Linux is evolving in the direction it needs to go to ... And BSD is more of a server platform so you find fewer 'users'. ... Bill Vermillion - bv @ wjv. ...
    (comp.unix.sco.misc)
  • Re: SCO: ISPs are blocking our site Blake Stowell
    ... On Mon, 2 Feb 2004, Bill Vermillion wrote: ... > minute retry, and if the name server is unreachable the cache is ...
    (comp.unix.sco.misc)
  • Re: Eroro Level help
    ... Bill Vermillion wrote: ... httpd in free: error: recursive call ... Denial of Service and crash my server? ... My Max Clients are set @ 150 I ...
    (comp.unix.bsd.freebsd.misc)
  • Re: SCO: ISPs are blocking our site Blake Stowell
    ... and if the name server is unreachable the cache is ... >which is the time in seconds the negative query should be cached. ... Bill Vermillion - bv @ wjv. ...
    (comp.unix.sco.misc)
  • Re: syslog truncate
    ... >| data for last 3 years since the server was installed and it is ... as long as the copyright info is maintained. ... A config file lets you rotate your files based on size, time, ... Bill Vermillion - bv @ wjv. ...
    (comp.unix.sco.misc)