🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #3119

Re: sendmail_5.61 and resolver

#3119
From: Paul A Vixie
Date: Fri, 27 Jan 1989 04:04
14 lines
1229 bytes
#	_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
Technical Details
Message-ID: <VIXIE.89Jan26200416@bacchus.pa.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!mailrus!purdue!decwrl!vixie
References: <1201@uw-entropy.ms.washington.edu> <56510@pyramid.pyramid.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <VIXIE.89Jan26200416@bacchus.pa.dec.com>
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