home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / mail / sendmail / 3017 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  2.7 KB

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