From owner-freebsd-questions Mon Apr 23 16:25:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from nameserver.austclear.com.au (nameserver.austclear.com.au [192.83.119.132]) by hub.freebsd.org (Postfix) with ESMTP id 0BC0137B422 for ; Mon, 23 Apr 2001 16:25:23 -0700 (PDT) (envelope-from ahl@austclear.com.au) Received: from tungsten.austclear.com.au (tungsten.austclear.com.au [192.168.70.1]) by nameserver.austclear.com.au (8.9.3/8.9.3) with ESMTP id JAA78735; Tue, 24 Apr 2001 09:25:22 +1000 (EST) Received: from tungsten (tungsten [192.168.70.1]) by tungsten.austclear.com.au (8.9.3/8.9.3) with ESMTP id JAA20250; Tue, 24 Apr 2001 09:25:21 +1000 (EST) Message-Id: <200104232325.JAA20250@tungsten.austclear.com.au> X-Mailer: exmh version 2.1.1 10/15/1999 To: Paul Herman Cc: =?iso-8859-1?q?Keith=20Spencer?= , freeBSD-questions@FreeBSD.ORG Subject: Re: about how mail routing works In-Reply-To: Message from Paul Herman of "Sun, 22 Apr 2001 11:57:30 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 24 Apr 2001 09:25:21 +1000 From: Tony Landells Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG pherman@frenchfries.net said: > First, you need to setup the secondary mail server, so that it will > relay mails to the primary. With sendmail, this means puting the > following line into /etc/mail/mailertable: > your-domain.com smtp:[primary.mail.server.com] This shouldn't be necessary as it should follow the higher priority (lower numbered) MX record for the primary. Unless, of course, the secondary has been told (via /etc/hosts, /etc/mail/local-host-names, whatever) that your-domain.com is delivered on the local machine... Of course, it probably won't do any harm either, and could protect you from DNS poisoning. Until some time down the track when you change your primary mail server and can't work out why occasionally email gets sent to the old primary (if it's still around) or gets bounced (if it's not). I'm not saying don't do this, just that it probably deserves to be documented somewhere (possibly as a comment in the DNS zone file around the point where the MX records are defined). Cheers, Tony -- Tony Landells Senior Network Engineer Ph: +61 3 9677 9319 Australian Clearing Services Pty Ltd Fax: +61 3 9677 9355 Level 4, Rialto North Tower 525 Collins Street Melbourne VIC 3000 Australia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message