home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / mail / sendmail / 2252 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  7.7 KB

  1. Path: sparky!uunet!destroyer!gatech!prism!matd!rhoward
  2. From: rhoward@matd.gatech.edu (Robert L. Howard)
  3. Newsgroups: comp.mail.sendmail
  4. Subject: IDA: hostnames vs. MX records
  5. Summary: Why aren't MX record names fully expanded?
  6. Message-ID: <rhoward.716221816@matd>
  7. Date: 11 Sep 92 14:30:16 GMT
  8. Sender: news@prism.gatech.EDU
  9. Organization: Georgia Tech Research Institute
  10. Lines: 146
  11.  
  12.  
  13. All right, I really like this IDA sendmail stuff.  The reason I like
  14. it is that I don't know that much about sendmail and cf files.  I 
  15. have a small problem with my configuration (and therefore I can't
  16. figure this out myself).
  17.  
  18. Our campus uses MX records a bunch.  Doing address testing reveals
  19. that sendmail treats MX records somewhat differently than A records.
  20. 'casbah' is a host on campus (the MX record 'gtri' points to casbah).
  21.  
  22. Sending mail to either 'foobar@casbah.gatech.edu' or 'foobar@casbah'
  23. works just fine.  It looks like ruleset 8 figures out to tack .gatech.edu
  24. to the end of a single hostname.
  25.  
  26. Sending to 'foobar@gtri.gatech.edu' works too.  It's 'foobar@gtri' that
  27. fails.  In this case no ruleset (including 8) tries to attach a
  28. '.gatech.edu' to the end.  Thus, sendmail just punts to the campus
  29. central mail server (which happens to be gatech.edu).  The typescript
  30. of the 4 example addresses are attached followed by my M4 file.
  31.  
  32. Is this a problem with my M4 file, the master cf file or has some-
  33. one set up the campus name server incorrectly?  Any help is appreciated.
  34. (I *know* many people will just type addresses of the form foo@gtri
  35. when sending mail and I just can't see making all that mail get
  36. punted unnecessarily).
  37.  
  38. Thanks,
  39. Robert
  40.  
  41. PS  Also, 'foobar@anything.gatech' punts to the central server.  Is
  42.     there a way to make this work too (get sendmail to figure out
  43.     how to add the .edu)?
  44.  
  45. -------------------------------------------------------------------------
  46. Script started on Fri Sep 11 10:08:17 1992
  47. % /usr/lib/sendmail -bt
  48. ADDRESS TEST MODE
  49. Enter <ruleset> <address>
  50. [Note: No initial ruleset 3 call]
  51. > 3,0 foobar@casbah.gatech.edu
  52. rewrite: ruleset  3   input: foobar @ casbah . gatech . edu
  53. rewrite: ruleset  7   input: foobar @ casbah . gatech . edu
  54. rewrite: ruleset  9   input: foobar @ casbah . gatech . edu
  55. rewrite: ruleset  9 returns: < foobar > @ casbah . gatech . edu
  56. rewrite: ruleset  7 returns: < @ casbah . gatech . edu > , foobar
  57. rewrite: ruleset  3 returns: < @ casbah . gatech . edu > , foobar
  58. rewrite: ruleset  0   input: < @ casbah . gatech . edu > , foobar
  59. rewrite: ruleset  8   input: < @ casbah . gatech . edu > , foobar
  60. rewrite: ruleset  8 returns: < @ casbah . gatech . edu > , foobar
  61. rewrite: ruleset 29   input: < @ casbah . gatech . edu > , foobar
  62. rewrite: ruleset 29 returns: < @ casbah . gatech . edu > , foobar
  63. rewrite: ruleset 26   input: < @ casbah . gatech . edu > , foobar
  64. rewrite: ruleset 25   input: < @ casbah . gatech . edu > , foobar
  65. rewrite: ruleset 25 returns: < @ casbah . gatech . edu > , foobar
  66. rewrite: ruleset  4   input: < @ casbah . gatech . edu > , foobar
  67. rewrite: ruleset  4 returns: foobar @ casbah . gatech . edu
  68. rewrite: ruleset 26 returns: $# TCP $@ casbah . gatech . edu $: < @ casbah . gatech . edu > , foobar
  69. rewrite: ruleset  0 returns: $# TCP $@ casbah . gatech . edu $: < @ casbah . gatech . edu > , foobar
  70. > 3,0 foobar@casbah
  71. rewrite: ruleset  3   input: foobar @ casbah
  72. rewrite: ruleset  7   input: foobar @ casbah
  73. rewrite: ruleset  9   input: foobar @ casbah
  74. rewrite: ruleset  9 returns: < foobar > @ casbah
  75. rewrite: ruleset  7 returns: < @ casbah > , foobar
  76. rewrite: ruleset  3 returns: < @ casbah > , foobar
  77. rewrite: ruleset  0   input: < @ casbah > , foobar
  78. rewrite: ruleset  8   input: < @ casbah > , foobar
  79. rewrite: ruleset  8 returns: < @ casbah . gatech . edu > , foobar
  80. rewrite: ruleset 29   input: < @ casbah . gatech . edu > , foobar
  81. rewrite: ruleset 29 returns: < @ casbah . gatech . edu > , foobar
  82. rewrite: ruleset 26   input: < @ casbah . gatech . edu > , foobar
  83. rewrite: ruleset 25   input: < @ casbah . gatech . edu > , foobar
  84. rewrite: ruleset 25 returns: < @ casbah . gatech . edu > , foobar
  85. rewrite: ruleset  4   input: < @ casbah . gatech . edu > , foobar
  86. rewrite: ruleset  4 returns: foobar @ casbah . gatech . edu
  87. rewrite: ruleset 26 returns: $# TCP $@ casbah . gatech . edu $: < @ casbah . gatech . edu > , foobar
  88. rewrite: ruleset  0 returns: $# TCP $@ casbah . gatech . edu $: < @ casbah . gatech . edu > , foobar
  89. > 3,0 foobar@gtri.gatech.edu
  90. rewrite: ruleset  3   input: foobar @ gtri . gatech . edu
  91. rewrite: ruleset  7   input: foobar @ gtri . gatech . edu
  92. rewrite: ruleset  9   input: foobar @ gtri . gatech . edu
  93. rewrite: ruleset  9 returns: < foobar > @ gtri . gatech . edu
  94. rewrite: ruleset  7 returns: < @ gtri . gatech . edu > , foobar
  95. rewrite: ruleset  3 returns: < @ gtri . gatech . edu > , foobar
  96. rewrite: ruleset  0   input: < @ gtri . gatech . edu > , foobar
  97. rewrite: ruleset  8   input: < @ gtri . gatech . edu > , foobar
  98. rewrite: ruleset  8 returns: < @ gtri . gatech . edu > , foobar
  99. rewrite: ruleset 29   input: < @ gtri . gatech . edu > , foobar
  100. rewrite: ruleset 29 returns: < @ gtri . gatech . edu > , foobar
  101. rewrite: ruleset 26   input: < @ gtri . gatech . edu > , foobar
  102. rewrite: ruleset 25   input: < @ gtri . gatech . edu > , foobar
  103. rewrite: ruleset 25 returns: < @ gtri . gatech . edu > , foobar
  104. rewrite: ruleset  4   input: < @ gtri . gatech . edu > , foobar
  105. rewrite: ruleset  4 returns: foobar @ gtri . gatech . edu
  106. rewrite: ruleset 26 returns: $# TCP $@ gtri . gatech . edu $: < @ gtri . gatech . edu > , foobar
  107. rewrite: ruleset  0 returns: $# TCP $@ gtri . gatech . edu $: < @ gtri . gatech . edu > , foobar
  108. > 3,0 foobar@gtri
  109. rewrite: ruleset  3   input: foobar @ gtri
  110. rewrite: ruleset  7   input: foobar @ gtri
  111. rewrite: ruleset  9   input: foobar @ gtri
  112. rewrite: ruleset  9 returns: < foobar > @ gtri
  113. rewrite: ruleset  7 returns: < @ gtri > , foobar
  114. rewrite: ruleset  3 returns: < @ gtri > , foobar
  115. rewrite: ruleset  0   input: < @ gtri > , foobar
  116. rewrite: ruleset  8   input: < @ gtri > , foobar
  117. rewrite: ruleset  8 returns: < @ gtri > , foobar
  118. rewrite: ruleset 29   input: < @ gtri > , foobar
  119. rewrite: ruleset 29 returns: < @ gtri > , foobar
  120. rewrite: ruleset 26   input: < @ gtri > , foobar
  121. rewrite: ruleset 25   input: < @ gtri > , foobar
  122. rewrite: ruleset 25 returns: < @ gtri > , foobar
  123. rewrite: ruleset  4   input: < @ gtri > , foobar
  124. rewrite: ruleset  4 returns: foobar @ gtri
  125. rewrite: ruleset 26 returns: < @ gtri > , foobar
  126. rewrite: ruleset  0 returns: $# TCP $@ gatech . edu $: < @ gtri > , foobar
  127. script done on Fri Sep 11 10:09:58 1992
  128.  
  129. -----------------------------------------------------------------------------
  130.  
  131. # Sendmail configuration file for MATD client hosts.
  132. define(ALIASES, LIBDIR/aliases)
  133. define(ALWAYSADDDOMAIN)
  134. define(BANGIMPLIESUUCP)
  135. define(GENERICFROM, LIBDIR/generics)
  136. define(GENERICENVELOPE)
  137. define(MAILNAME, matd.gatech.edu)
  138. define(MAILSERVER, willie.msd.gatech.edu)
  139. define(POSTMASTERBOUNCE)
  140. define(PSEUDONYMS, matd.gatech.edu msd.gatech.edu localhost.msd.gatech.edu localhost.gatech.edu)
  141. define(ISOLATED_DOMAINS, gatech.edu)
  142. define(RELAY_HOST, gatech.edu)
  143. define(RELAY_MAILER, TCP)
  144. define(SPOOLDIR, /var/spool/mqueue)
  145. include(Sendmail.mc)
  146.  
  147. -----------------------------------------------------------------------------
  148. --
  149. | Robert L. Howard              |   Georgia Tech Research Institute     |
  150. | robert.howard@matd.gatech.edu |   MATD Laboratory                     |
  151. | (404) 528-7165                |   Atlanta, Georgia  30332             |
  152. -------------------------------------------------------------------------
  153. | "See, when the GOVERNMENT spends money, it creates jobs; whereas when |
  154. | the money is left in the hands of TAXPAYERS, God only knows what they |
  155. | do with it.  Bake it into pies, probably.  Anything to avoid creating |
  156. | jobs." -- Dave Barry                                                  |
  157.