🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #2709

Re: SunOs 4.1.1 sendmail MX problem

#2709
From: Neil Rickert
Date: Tue, 26 Jan 1993 20:42
35 lines
1652 bytes
In article <1993Jan26.185718.7087@newshost.lanl.gov> jroberts@beta.lanl.gov (Jack C. Roberts) writes:

>Client OS:      SunOS 4.1.1

>mr.xxx.yyy has been set up as a mail exchanger.  If I try to mail to
>user@mr.xxx.yyy my sendmail on the sun tells me:
>
>jack@mr.xxx.yyy... Never heard of host mr in domain xxx . yyy

You are doing something that the designers of 'sendmail.{main,subsidiary}.cf'
did not contemplate.  To oversimplify, the config is checking if a local
host in your domain exists, and if not is displaying this message.  But
the test for existence is a simple gethostbyname() which fails if there
is no address associated with the host.

Toward the end of 'sendmail.cf' you will find rules approximately
like this:

	R$*<@$%y.LOCAL>$*	$#ether $@$2 $:$1<@$2>$3

	... (a few more rules)

	R$*<@$*.LOCAL>$*	$#error $:Never heard of host $2 in domain $m

Between those two rules you need to insert:

	R$*<@=X.LOCAL>$*	$#ether $@2 $:$1<@2>$3

and near the top of the config, you need to add

	# Define local MX only addresses within our domain.
	CXmr

If your config is based on 'sendmail.main.cf' it would be better to change
the '$#ether' to '$#ddn'.
Technical Details
Message-ID: <1993Jan26.204243.28044@mp.cs.niu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!spool.mu.edu!sdd.hp.com!ux1.cso.uiuc.edu!mp.cs.niu.edu!rickert
References: <1iu5tjINNhu@mailgzrz.TU-Berlin.DE> <1993Jan26.185718.7087@newshost.lanl.gov>

Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.sendmail
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!spool.mu.edu!sdd.hp.com!ux1.cso.uiuc.edu!mp.cs.niu.edu!rickert
From: rickert@mp.cs.niu.edu (Neil Rickert)
Subject: Re: SunOs 4.1.1 sendmail MX problem
Message-ID: <1993Jan26.204243.28044@mp.cs.niu.edu>
Organization: Northern Illinois University
References: <1iu5tjINNhu@mailgzrz.TU-Berlin.DE> <1993Jan26.185718.7087@newshost.lanl.gov>
Date: Tue, 26 Jan 1993 20:42:43 GMT
Lines: 36