Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Oct 1997 08:41:01 +1000 (EST)
From:      "Daniel O'Callaghan" <danny@panda.hilink.com.au>
To:        "Jonathan A. Zdziarski" <jonz@netrail.net>
Cc:        Jamie Lawrence <jal@42is.com>, freebsd-isp@FreeBSD.ORG
Subject:   Re: Mail Spooling
Message-ID:  <Pine.BSF.3.91.971010083621.305F-100000@panda.hilink.com.au>
In-Reply-To: <Pine.BSF.3.95q.971009153611.21877A-100000@netrail.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Thu, 9 Oct 1997, Jonathan A. Zdziarski wrote:

> I've got two machines, one has the mail folders and stuff on it, the other
> is just another server.  I want the other server to be able to hold mail
> if the primary goes down, then feed it to the primary when it comes back
> up - smtp spooling.

Firstly, set up your second machine to handle mail, and install antispam
relaying while you are at it (always good practice) (see
www.sendmail.org).  With the antispamrelay stuff you need to define which
domains are allowed to be spooled on your machine, so add netrail.net to 
localdomains file.

In the DNS add another MX record to netrail.net stating:
  IN MX 50 smtp-2

Then if smtp-1.netrail.net is down, all mail will be spooled on smtp-2.  
smtp-2 will process its queue every so often ( determined by the -q 
argument to sendmail) and when it does, it will deliver the mail to smtp-1.

Simple :-)


/*  Daniel O'Callaghan                                                     */
/*  HiLink Internet <http://www.hilink.com.au/>;       danny@hilink.com.au  */
/*  FreeBSD - works hard, plays hard...                 danny@freebsd.org  */




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.971010083621.305F-100000>