Path: utzoo!mnetor!uunet!husc6!bbn!rochester!PT.CS.CMU.EDU!andrew.cmu.edu!cfe+ From: cfe+@andrew.cmu.edu (Craig F. Everhart) Newsgroups: comp.mail.misc Subject: Re: YASQ (yet another sendmail question) Message-ID: Date: 4 Apr 88 15:17:42 GMT References: <428@ndcheg.UUCP> Organization: Carnegie Mellon University Lines: 17 In-Reply-To: <428@ndcheg.UUCP> I long ago gave up on Sendmail's breaking up domain names into components (``a.b.c'' into ``a'' ``.'' ``b'' ``.'' ``c''). That way leads to madness (``local domain'', ``default domain'', ``really-local domain''). I doubt that even a UUCP-only site can justify it these days. I'll still do pattern matches (e.g., ``*.cmu.edu'' might get special treatment), but there's no reason to strip out domains before doing a host table search. Thus, in answer to your questions, keep full domain-name entries in /etc/hosts (with short nicknames that you can use until you switch to a resolver-based system, if you like). (E.g., 200.200.200.200 cheg.nd.edu ndcheg ) Let sendmail do the lookup on the full domain name, and don't forget to turn any nickname references into full domain names in headers before the mail leaves your system. Craig Everhart Andrew message system