home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!seunet!news.icl.se!ltu
- From: ltu@ki.icl.se (Lars Tunkrans)
- Newsgroups: comp.mail.sendmail
- Subject: Re: HOW does Sendmail determine Local domainname : SOLVED
- Summary: domainname and Sendmail
- Message-ID: <1993Jan8.143951.24753@icl.se>
- Date: 8 Jan 93 14:39:51 GMT
- Sender: root@icl.se (Root System)
- Organization: ICL Data AB Kista Sweden
- Lines: 20
- Nntp-Posting-Host: sw2020
-
- I had a problem with sendmail being confused about its hosts domainname.
- sometimes sendmail thougt it was "ki.icl.se" and sometimes it thought it
- was "icl.se".
-
- The problem was the way that sendmail reads the domainname external to
- sendmail.cf . The one returned by domainname(1M). Obviously the SUN derived
- sendmail's reads the external domainname with sysinfo(2) [ SI_SRPC_DOMAIN ]
- and then trunkates everything to the left of the first dot in the domainname.
- The resulting string is used as domainname.
-
- This was then fixed by adding a dot before the domainname so that sysinfo(2)
- then returned ".ki.icl.se" which prevented sendmail from removing "ki".
-
-
- Thanks Lars.
- --
- _______________________________________________________________________________
- Lars Tunkrans Phone +46 (0)87937419 FAX +46 (0)87938109 DRS Systems Services
- DOMAIN Address: ltu@icl.se X400 Gateway: l.tunkrans.swe2007@oasis.icl.co.uk
- X400: I=L;S=Tunkrans;OU1=SWE2007;O=ICL Data;P=ICL;A=TEDE;C=SE
-