home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!cs.utexas.edu!bcm!cephalo.neusc.bcm.tmc.edu!tso
- From: tso@cephalo.neusc.bcm.tmc.edu (Dan Ts'o)
- Newsgroups: comp.unix.ultrix
- Subject: Re: Mail/Sendmail problem (can't change notion of local domain)
- Date: 5 Jan 1993 20:38:42 GMT
- Organization: Baylor College of Medicine, Houston,Tx
- Lines: 32
- Distribution: world
- Message-ID: <1icrkiINNbc9@gazette.bcm.tmc.edu>
- References: <1iai43INN3ff@gazette.bcm.tmc.edu>
- NNTP-Posting-Host: cephalo.neusc.bcm.tmc.edu
-
- In article <1iai43INN3ff@gazette.bcm.tmc.edu> tso@cephalo.neusc.bcm.tmc.edu (Dan Ts'o) writes:
- > Somewhere there must be hidden another reference to our old domain that
- >I don't know about. Where ?
-
- I think I found the problem. It is totally ridiculous in my view, but
- hey!
- Machines in my old local domain were still listed in my /etc/hosts
- file (since I just added my new neighbors to my old file) with the short form
- first:
-
- 129.85.1.200 rna rna.rockefeller.edu
-
- Apparently, regardless of the address you hand mail/sendmail, it
- looks it up and munges it. It must do something like translate to IP address
- and then back to a name, which is when it must pick up the short name instead,
- *regardless* of the original text of the address! i.e. even if I mail:
-
- mail dan@rna.rockefeller.edu
-
- by virtue of the ordering of names in the /etc/hosts file, it believes
- that rna is local.
- Seems wrong to me.
-
- Actually, I should have known. An analogous problem hit me several days
- ago with NFS and the /etc/exports file. Clients were making mount requests.
- This time their short name was at the end of the /etc/hosts lines:
-
- 128.249.25.121 dna.neusc.bcm.tmc.edu dna
-
- NFS would not recognize the short names and permit the mounts unless
- I 1) put the short names first in /etc/hosts, or 2) put all long names in
- /etc/exports.
-