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