home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sgi / 11633 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.8 KB  |  46 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!sun-barr!ames!sgi!rhyolite!vjs
  3. From: vjs@rhyolite.wpd.sgi.com (Vernon Schryver)
  4. Subject: Re: how do I make sendmail use the name server rather than /etc/hosts
  5. Message-ID: <nu5anfg@rhyolite.wpd.sgi.com>
  6. Organization: Silicon Graphics, Inc.  Mountain View, CA
  7. References: <712451466@anthrax.cs.duke.edu>
  8. Date: Thu, 30 Jul 1992 03:38:22 GMT
  9. Lines: 35
  10.  
  11. In article <712451466@anthrax.cs.duke.edu>, jwt@duke.cs.duke.edu (Jeffrey W. Tannehill) writes:
  12. >     Our sendmail.cf seems to work fine for local hosts, or hosts in the
  13. > /etc/hosts file that are in our local domain (cs.duke.edu).  However, 
  14. > if a host in another domain is specified and that host is in the hosts file,
  15. > then the sendmail.cf file drops off the hosts' domain name and replaces it with
  16. > cs.duke.edu .  Apparently this is due to the sequence of ruleset 0 rules
  17. >     # Canonicalize the host name.  Detect any failures.
  18. >     R$*<@$+>$*              $:$1<@$[$2$:$2.$Y$]>$3
  19. >  
  20. >     # If we successfully canonicalize a hostname, but the result contains
  21. >     # no dots, make it relative to our domain.
  22. >     R$*<@$->$*              $1<@$2.$D>$3
  23. > Apparently, the first rule takes "bob@physics.phy.duke.edu" and changes it to 
  24. > something like "bob@physics" and the second line then rewrites this as 
  25. > "bob@physics.cs.duke.edu"....
  26.  
  27.  
  28. This sounds like the "canonical" name for your machine is "physics".
  29.  
  30. That is not a FullyQualifiedDomainName.
  31.  
  32. Things work better if the cannonical name is a FQDN.  I would try
  33. re-arranging your /etc/hosts files so that the first or canonical name
  34. for each IP address is the correct FQDN.
  35.  
  36. It also sounds like you machine as severe case of split personality
  37. disease if it thinks it is in two different domains, cs.duke.edu and
  38. phy.duke.edu.  That can be made to work, but it is often too
  39. entertaining to be useful.
  40.  
  41.  
  42. Vernon Schryver,  vjs@sgi.com
  43.