Path: utzoo!utgpu!attcan!uunet!husc6!rutgers!gatech!ncar!oddjob!matt
From: matt@oddjob.UChicago.EDU (My Name Here)
Newsgroups: comp.mail.sendmail
Subject: Re: MX records and gateways
Message-ID: <15002@oddjob.UChicago.EDU>
Date: 10 Aug 88 15:34:56 GMT
References: <452@umn-d-ub.D.UMN.EDU>
Organization: Very Little
Lines: 14

(I saw Kurt's answer to Rob's question but I don't think it explained
what Rob wanted to know.)

In the case Rob asks about (destination host.dom.ain is not on
internet, but has one or more MXs that are), the result of ruleset
zero does indeed say to "connect to host.dom.ain by TCP".  It is in
deliver() [deliver.c], under "# ifdef MXDOMAIN" that the MX records
are looked up.  Then an SMTP connection is attempted to one of the
hosts listed as an MX for host.dom.ain.

As long as you define MXDOMAIN, I think your sendmail is going to do
the right thing.  The MX stuff just doesn't happen where "-bt -dxx.yy"
will show it.
				Matt Crawford