From owner-freebsd-isp Thu Oct 9 15:41:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA05143 for isp-outgoing; Thu, 9 Oct 1997 15:41:37 -0700 (PDT) (envelope-from owner-freebsd-isp) Received: from panda.hilink.com.au (panda.hilink.com.au [203.8.15.25]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA05133 for ; Thu, 9 Oct 1997 15:41:31 -0700 (PDT) (envelope-from danny@panda.hilink.com.au) Received: (from danny@localhost) by panda.hilink.com.au (8.8.5/8.8.5) id IAA05662; Fri, 10 Oct 1997 08:41:03 +1000 (EST) Date: Fri, 10 Oct 1997 08:41:01 +1000 (EST) From: "Daniel O'Callaghan" To: "Jonathan A. Zdziarski" cc: Jamie Lawrence , freebsd-isp@FreeBSD.ORG Subject: Re: Mail Spooling In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 danny@hilink.com.au */ /* FreeBSD - works hard, plays hard... danny@freebsd.org */