🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #3088

Re: Problems aliasing hostname to domain name

#3088
From: Karl Kleinpaste
Date: Mon, 16 Jan 1989 18:05
23 lines
1419 bytes
johnj@aplcen.apl.jhu.edu (7058 work) writes:
   The trouble is that a few weeks ago, our host was added to a an
   internet name server. Our primary host we wanted to be able to address
   as either welchvax.welch.jhu.edu or by our domain name, welch.jhu.edu.
   ...
   Our sendmail file has lines as follows that I thought would help to
   resolve its hostname before conecting to itself (both in S0 before tcp
   stuff):
	   R$-<@welchvax.welch.jhu.edu>	$1
	   R$-<@welch.jhu.edu>	$1

Given
	DDwelch.jhu.edu
and $j defined appropriately, I suggest, in S0:
	R$+<@$D>		$#local$:$1
	R$+<@$j>		$#local$:$1
or, if you generalize all hostnames to the domain name as we do:
	R$+<@$*$D>		$#local$:$1

Forget the silly hostname stripping and re-running through S0; once
you've detected local mail, deliver it immediately and be done with it.

--Karl
Technical Details
Message-ID: <KARL.89Jan16130522@triceratops.cis.ohio-state.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!mailrus!tut.cis.ohio-state.edu!triceratops.cis.ohio-state.edu!karl
References: <475@aplcen.apl.jhu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!mailrus!tut.cis.ohio-state.edu!triceratops.cis.ohio-state.edu!karl
From: karl@triceratops.cis.ohio-state.edu (Karl Kleinpaste)
Newsgroups: comp.mail.sendmail
Subject: Re: Problems aliasing hostname to domain name
Message-ID: <KARL.89Jan16130522@triceratops.cis.ohio-state.edu>
Date: 16 Jan 89 18:05:22 GMT
References: <475@aplcen.apl.jhu.edu>
Sender: news@tut.cis.ohio-state.edu
Distribution: na
Organization: OSU
Lines: 23
In-reply-to: johnj@aplcen.apl.jhu.edu's message of 11 Jan 89 04:31:11 GMT