🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #3086

Problems aliasing hostname to domain name

#3086
From: 7058 work
Date: Wed, 11 Jan 1989 04:31
35 lines
1723 bytes
I have a problem with sendmail that I can't seem to resolve.

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.

Sending mail to either name results in sending to welch.jhu.edu, the
problem arises when the mail gets to the host welchvax. It barfs up the
address as unknown host:

	550 welch.jhu.edu.tcp... 550 Host unknown
	550 <johnj@welch.jhu.edu>... Host unknown

If I add the domain name to the welchvax.welch.jhu.edu line of the host
file, welchvax mailer is not willing to talk to itself:

	>>> HELO welchvax.welch.jhu.edu
	<<< 553 welchvax.welch.jhu.edu I refuse to talk to myself
	554 <johnj@welch.jhu.edu>... Service unavailable: Bad file number

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

I am not sure wether sendmail.cf is the problem or if there is some
other way to "alias" our domain name to our host name.

Any help would be greatly appreciated.

-johnj
(johnj@welchsun3.welch.jhu.edu; bitnet:johnj@jhuigf)
Technical Details
Message-ID: <475@aplcen.apl.jhu.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!ucsd!orion.cf.uci.edu!uci-ics!zardoz!tgate!irsx01!wb3ffv!aplcen!johnj

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!ucsd!orion.cf.uci.edu!uci-ics!zardoz!tgate!irsx01!wb3ffv!aplcen!johnj
From: johnj@aplcen.apl.jhu.edu (7058 work)
Newsgroups: comp.mail.sendmail
Subject: Problems aliasing hostname to domain name
Keywords: sendmail, nameserver, aliasing domain name
Message-ID: <475@aplcen.apl.jhu.edu>
Date: 11 Jan 89 04:31:11 GMT
Distribution: na
Organization: Johns Hopkins University, Laurel, MD
Lines: 35