🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.headers
Article #375

"$s" variable in sendmail.cf

#375
From: paul
Date: Sun, 01 Feb 1987 19:03
27 lines
1602 bytes
The smail.cf.sh script, which is supplied with smail-1.0, creates
a default sendmail.cf which contains the following fragment in
the "Format of Headers" section:

    HReceived: $?sfrom $s
	    $.by $j ($v/$V)
	    id $i; $b

Now, I know what the $j, $v, $V, $i, and $b variables (is that what
they're called) are, and how they are set.  Common sense tells me that
the phrase "$?sfrom $s" translates to: "If 's' is set (has value) then
type 'from the_value_of_s'".  I am assuming that $s should contain
the hostname.domain of the system I received the message from; I have
seen headers on mail sent to me which looked something like:

    Received: from bletch.UUCP by foobar.UUCP (version_junk_here)
	    id (id_junk_here@foobar.UUCP)

I find no evidence that the sendmail.cf is setting $s.  My question, then,
is where is $s supposed to be set, and how do I coerce sendmail.cf into
using it?

-- 
Paul Sutcliffe, Jr.	    paul@devon.UUCP	(or, if you prefer:)
Devon Computer Services	    {seismo,ihnp4,allegra,rutgers}!cbmvax!devon!paul
Allentown, PA
		"I love work.  I could sit and watch people do it all day!"
Technical Details
Message-ID: <215@devon.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!cbmvax!vu-vlsi!devon!paul

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!cbmvax!vu-vlsi!devon!paul
From: paul@devon.UUCP
Newsgroups: comp.mail.headers
Subject: "$s" variable in sendmail.cf
Message-ID: <215@devon.UUCP>
Date: Sun, 1-Feb-87 14:03:44 EST
Article-I.D.: devon.215
Posted: Sun Feb  1 14:03:44 1987
Date-Received: Tue, 3-Feb-87 02:25:12 EST
Organization: Devon Computer Services, Allentown, PA
Lines: 27
Keywords: sendmail