Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!purdue!decwrl!vixie From: vixie@decwrl.dec.com (Paul A Vixie) Newsgroups: comp.mail.sendmail Subject: Re: sendmail_5.61 and resolver Message-ID: Date: 27 Jan 89 04:04:16 GMT References: <1201@uw-entropy.ms.washington.edu> <56510@pyramid.pyramid.com> Sender: vixie@decwrl.dec.com Organization: DEC Western Research Lab Lines: 14 In-reply-to: csg@pyramid.pyramid.com's message of 26 Jan 89 05:58:54 GMT # _res.options &= ~(RES_DEFNAMES | RES_DNSRCH); /* XXX */ # _res.options |= RES_DEFNAMES | RES_DNSRCH; /* XXX */ As others have pointed out, these are safe if you canonicalize to FQDMs before you call the resolver. Carl says that these are ugly in received mail, and I agree. But I have stuff in my Mlocal's final rewrites to rip everything out that does not need to be there -- which includes not only the domain name but the host name as well, since we have the same aliases everywhere. So I can leave this in. Others may want to consider the same approach. -- Paul Vixie Work: vixie@decwrl.dec.com decwrl!vixie +1 415 853 6600 Play: paul@vixie.sf.ca.us vixie!paul +1 415 864 7013