home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / ultrix / 9175 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  1.8 KB

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