home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / mail / sendmail / 3106 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  2.5 KB

  1. Path: sparky!uunet!wupost!spool.mu.edu!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!seunet!news.icl.se!ltu
  2. From: ltu@ki.icl.se (Lars Tunkrans)
  3. Newsgroups: comp.mail.sendmail
  4. Subject: How does Sendmail determine Local domainname ?
  5. Summary: Sendmail and "LOCAL"
  6. Message-ID: <1993Jan4.160723.2551@icl.se>
  7. Date: 4 Jan 93 16:07:23 GMT
  8. Sender: root@icl.se (Root System)
  9. Organization: ICL Data AB Kista Sweden
  10. Lines: 58
  11. Nntp-Posting-Host: sw2020
  12.  
  13. Hello, I have been studing sendmail for a while and I am a little
  14. confused over How sendmail determines what the LOCAL domain name is.
  15.  
  16. My sVr4 system has the name "sw2020.ki.icl.se".  I thougt that this would
  17. make the LOCAL varible contain "ki.icl.se", but it seems to match both 
  18. "icl.se" and "ki.icl.se"
  19.  
  20. Here is the definition part of sendmail.cf:
  21.  
  22.  
  23. Dmki.icl.se
  24. Dwsw2020
  25. Cwsw2020 sw2020.ki.icl.se
  26. Cmki.icl.se
  27.  
  28. -------------------
  29.  
  30. This could be wrong  :-(     if it is, Please tell me how.
  31.  
  32. What happends is that if i send something off to " user@icl.se" which is 
  33. our toplevel domain, sendmail converts it to "user@ki.icl.se".  
  34.  
  35. What sendmail -bt  tells me is as follows:
  36.  
  37. ADDRESS TEST MODE
  38. Enter <ruleset> <address>
  39. > rewrite: ruleset  3   input: "user" "@" "icl" "." "se"
  40. rewrite: ruleset  6   input: "user" "<" "@" "icl" "." "se" ">"
  41. rewrite: ruleset  6 returns: "user" "<" "@" "LOCAL" ">"
  42. rewrite: ruleset  3 returns: "user" "<" "@" "LOCAL" ">"
  43. rewrite: ruleset  1   input: "user" "<" "@" "LOCAL" ">"
  44. rewrite: ruleset  1 returns: "user" "<" "@" "LOCAL" ">"
  45. rewrite: ruleset  0   input: "user" "<" "@" "LOCAL" ">"
  46. rewrite: ruleset  9   input: "user" "<" "@" "ki" "." "icl" "." "se" ">"
  47. rewrite: ruleset  9 returns: "user" "<" "@" "ki" "." "icl" "." "se" ">"
  48. rewrite: ruleset  0 returns: $# "ether" $@ "butler" $: "user" "<" "@" "ki" "." "icl" "." "se" ">"
  49.  
  50. As you can se it accept's "icl.se" as LOCAL and then Replaces it with 
  51. "ki.icl.se".
  52.  
  53. When I comment away the "Dmki.icl.se" macro from sendmail.cf this behaivor 
  54. dissapears. LOCAL gets converted back to "icl.se" again.
  55. So obviously the "Dmki.icl.se" record makes sendmail use that as its LOCAL
  56. domain at some point in time.  But where does it pick up "icl.se" as a 
  57. synonym for LOCAL. Its not in sendmail.cf.
  58.  
  59. My domain name in /etc/resolv.conf is "ki.icl.se".
  60. domainname(1M) returns "ki.icl.se"
  61.  
  62. Any ideas ?
  63.  
  64. Lars
  65. --
  66. _______________________________________________________________________________
  67. Lars Tunkrans  Phone +46 (0)87642419   DRS Systems Services
  68. DOMAIN Address : ltu@icl.se         UUCP: 
  69. X400: I=L;S=Tunkrans;OU1=SWE2002;O=ICL Data;P=ICL;A=TEDE;C=SE
  70.