home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.tek.com!gvgpsa!ssigv!sunrise!gdonl
- From: gdonl@sunrise.ssi1.com (Don Lewis)
- Newsgroups: comp.mail.sendmail
- Subject: sendmail name canonicalization problems
- Message-ID: <1992Dec16.234601.6354@ssigv.UUCP>
- Date: 16 Dec 92 23:46:01 GMT
- Sender: news@ssigv.UUCP
- Organization: Silicon Systems, Nevada City CA
- Lines: 50
- Nntp-Posting-Host: sunrise
-
- I'm trying to configure our mail system so that mail addresses are of
- the form user@site.ssi1.com. I also want users to just be able to
- send mail to user@site and have sendmail take care of the canonicalization.
- I want to implement this by creating MX DNS records for each site pointing
- to the appropriate mail servers. I'm using sendmail-5.65c+IDA-1.4.4.1 and
- have run into the following problems.
-
- * sendmail does not canonicalize the host name at all if it only has
- an MX record unless I define NO_WILDCARD_MX when building sendmail
-
- This isn't too much of a problem since there will never be any wildcard
- MX records in the ssi1.com domain.
-
- * sendmail will not canonicalize the host name if it doesn't have
- any A records, and its most preferred MX record points to the
- local host
-
- This would be fixable in sendmail, but it would not work with the supplied
- Sendmail.mc. The problem is that the logic in ruleset 26 of the supplied
- Sendmail.mc that decides which mailer to use depends on this behaviour.
- This ruleset wants $[ $] to fail if the the preferred MX points to the
- local host in order to force sendmail to choose something other than the
- TCP mailer.
-
- A related bug which doesn't affect me, but is even nastier:
-
- * sendmail will not canonicalize a CNAME which points to a name whose
- preferred MX points to the local host
-
- With the present software, I see two possible solutions. The first
- is to use the DOMAINTABLE feature in the Sendmail.mc, but I really
- don't want to have to maintain extra database files on upteen
- hosts at a half dozen sites spread halfway around the world. I really
- want a more distributed solution. The second solution would be to
- define A records pointing to the mail hosts for each site. This
- solution has the disadvantage of breaking the strict one to one mapping
- of A and PTR records in our DNS database.
-
- And while we are on the subject of name canonicalization:
-
- * sendmail doesn't gracefully handle name server timeouts when
- canonicalizing names
-
- I found a version of 5.61+IDA by Dan Oscarsson on lth.se a while back
- that handles name server timeouts, but the necessary changes are pretty
- extensive.
- --
- Don "Truck" Lewis Phone: +1 916 478-8284 Silicon Systems
- Internet: gdonl@ssi1.com FAX: +1 916 478-8290 138 New Mohawk Road
- UUCP: {uunet,tektronix!gvgpsa.gvg.tek.com}!ssigv!gdonl Nevada City, CA 95959
-