🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #12112

Re: sunos 4.0.1, $m in sendmail.cf

#12112
From: Guy Harris
Date: Sat, 22 Apr 1989 07:28
19 lines
1201 bytes
>What should sendmail be setting it to?  The yp domainname, or the internet
>domainname?

"sendmail" sets it from the YP domainname.  It does so *after* it reads in
the configuration file, so you can't override it in the configuration
file, alas.  The rules it appears to use are:

	1) do a "getomainname" call;

	2) if the first character of the result is "+", replace it with
	   ".";

	3) Search for the first "." in the result:

	   4a) if it's found, set "$m" to the part of the string that
	       follows the first ".", and set the class "m" to the same
	       thing;

	   4b) if it's not found, leave "$m" and the class "m" alone.
Technical Details
Message-ID: <1332@auspex.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request
References: <8903091703.AA16757@nprdc.arpa>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: auspex!guy@uunet.uu.net (Guy Harris)
Newsgroups: comp.sys.sun
Subject: Re: sunos 4.0.1, $m in sendmail.cf
Keywords: Software
Message-ID: <1332@auspex.UUCP>
Date: 22 Apr 89 07:28:03 GMT
References: <8903091703.AA16757@nprdc.arpa>
Sender: usenet@rice.edu
Organization: Auspex Systems, Santa Clara
Lines: 19
Approved: Sun-Spots@rice.edu
Original-Date: 30 Mar 89 20:52:11 GMT
X-Sun-Spots-Digest: Volume 7, Issue 239, message 2 of 21