Thread View: comp.mail.headers
2 messages
2 total messages
Started by paul
Sun, 01 Feb 1987 19:03
"$s" variable in sendmail.cf
Author: paul
Date: Sun, 01 Feb 1987 19:03
Date: Sun, 01 Feb 1987 19:03
27 lines
1602 bytes
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!"
Re: "$s" variable in sendmail.cf
Author: John Diamant
Date: Wed, 04 Feb 1987 01:40
Date: Wed, 04 Feb 1987 01:40
5 lines
747 bytes
747 bytes
The macro $s, like many other macros in sendmail, is set by sendmail itself, not by the configuration file. My manual says that the macro is the sender's host name. John Diamant SCO diamant@hpfclp or hpfclp!diamant
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads