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

  1. Path: sparky!uunet!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: Re: HOW does Sendmail determine Local domainname : SOLVED
  5. Summary: domainname and Sendmail
  6. Message-ID: <1993Jan8.143951.24753@icl.se>
  7. Date: 8 Jan 93 14:39:51 GMT
  8. Sender: root@icl.se (Root System)
  9. Organization: ICL Data AB Kista Sweden
  10. Lines: 20
  11. Nntp-Posting-Host: sw2020
  12.  
  13. I had a problem with sendmail being confused about its hosts domainname.
  14. sometimes sendmail thougt it was "ki.icl.se" and sometimes it thought it
  15. was "icl.se".
  16.  
  17.   The problem was the way that sendmail reads the domainname external to 
  18. sendmail.cf . The one returned by domainname(1M). Obviously the SUN derived
  19. sendmail's  reads the external domainname with sysinfo(2) [ SI_SRPC_DOMAIN ]
  20. and then trunkates everything to the left of the first dot in the domainname.
  21. The resulting string is used as domainname.
  22.  
  23.   This was then fixed by adding a dot before the domainname so that sysinfo(2)
  24. then returned ".ki.icl.se" which prevented sendmail from removing "ki".
  25.  
  26.  
  27. Thanks Lars.
  28. --
  29. _______________________________________________________________________________
  30. Lars Tunkrans  Phone +46 (0)87937419  FAX +46 (0)87938109  DRS Systems Services
  31. DOMAIN Address: ltu@icl.se  X400 Gateway:  l.tunkrans.swe2007@oasis.icl.co.uk 
  32. X400: I=L;S=Tunkrans;OU1=SWE2007;O=ICL Data;P=ICL;A=TEDE;C=SE
  33.