Smarthost Failover - WAS RE: [Mimedefang] SMTP mailertable qu estion

Cormack, Ken kcormack at acs.roadway.com
Wed Jan 7 16:29:00 EST 2004


This would be interesting, to try.

(Does anyone feel this o-t thread is perhaps best taken offline, at this
point?)

-----Original Message-----
From: mimedefang-bounces at lists.roaringpenguin.com
[mailto:mimedefang-bounces at lists.roaringpenguin.com]On Behalf Of Kris
Deugau
Sent: Wednesday, January 07, 2004 3:26 PM
To: mimedefang at lists.roaringpenguin.com
Subject: Re: Smarthost Failover - WAS RE: [Mimedefang] SMTP mailertable
question


"Cormack, Ken" wrote:
> Kris Deugau wrote:
> > At a guess, enclosing hostnames in []'s would eliminate that- if
> > you're relaying mail for something, for instance, you may want to
> > explicitly specify a destination hostname rather than allowing
> > sendmail to try an MX lookup on that name.
> 
> Enclosing the hostnames in brackets would not work.  The function of
> the brackets is to signify to sendmail that the enclosed entity is a
> litteral IP address not requiring lookups of any kind (as opposed to
> a "name" of some sort, against which MX and/or PTR lookups are
> needed.)  This is mentioned in other contexts, in the sendmail
> litterature.

Hmmm.  I mentioned it because []'s are used in the mailertable to tell
sendmail "Don't look up an MX for this hostname, just assume that that
hostname accepts incoming SMTP on port 25".  It works just fine with
hostnames there.  It still does a lookup for the A record so it can
connect to that host, but it doesn't do any further DNS checks.

For instance, in the mailertable on the hosting server here, I have
lines like:

domain.com	esmtp:[domain.com]

They host their own mail, but our hosting server is a backup MX, and
leaving out the brackets may cause sendmail to go into a loop trying to
deliver to itself.  :/  (I think it actually did so once.)

I may try some testing to see what happens.

-kgd
-- 
"Sendmail administration is not black magic.  There are legitimate
technical reasons why it requires the sacrificing of a live chicken."
   - Unknown
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang



More information about the MIMEDefang mailing list