Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Apr 2001 09:25:21 +1000
From:      Tony Landells <ahl@austclear.com.au>
To:        Paul Herman <pherman@frenchfries.net>
Cc:        =?iso-8859-1?q?Keith=20Spencer?= <bsd2000au@yahoo.com.au>, freeBSD-questions@FreeBSD.ORG
Subject:   Re: about how mail routing works 
Message-ID:  <200104232325.JAA20250@tungsten.austclear.com.au>
In-Reply-To: Message from Paul Herman <pherman@frenchfries.net>  of "Sun, 22 Apr 2001 11:57:30 %2B0200." <Pine.BSF.4.33.0104221140080.88695-100000@husten.security.at12.de> 

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

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					<ahl@austclear.com.au>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104232325.JAA20250>