Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!watmath!clyde!cuae2!ihnp4!gargoyle!oddjob!matt
From: matt@oddjob.UUCP
Newsgroups: comp.bugs.4bsd
Subject: sendmail problem in expanding macros in headers
Message-ID: <1598@oddjob.UChicago.EDU>
Date: Tue, 16-Dec-86 14:16:17 EST
Article-I.D.: oddjob.1598
Posted: Tue Dec 16 14:16:17 1986
Date-Received: Wed, 17-Dec-86 22:53:37 EST
Reply-To: matt@oddjob.UChicago.EDU (Matt Crawford)
Organization: U of Chicago - Astronomy & Astrophysics
Lines: 16

Why won't the sending hostname from the SMTP HELO command
appear in the "Received:" header?  Running with debugging
shows that macro 's' is defined correctly upon receipt of
HELO.  Starting sendmail with a flag "-oMsfakehost" gets
" from fakehost" into the header, but a $s from HELO gets
lost somewhere.

The header is defined as:

HReceived: by $j$?s from $s$.$?r with $r$.
	id $i; ($v/$Z) $b
_____________________________________________________
Matt		University	crawford@anl-mcs.arpa
Crawford	of Chicago	ihnp4!oddjob!matt

	"Thank you for your support"