Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: 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 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!"