From feee4d201e1cd8eeec321a9bc5d6b8f1bfb3c6e4 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sat, 4 Oct 1997 11:10:19 +0000 Subject: [PATCH] Record the envelope from address in the received: line. This has turned out to be very useful for spam tracking and other problem debugging. I first noticed this in one of Paul Vixie's machine's headers a while ago. --- usr.sbin/sendmail/cf/m4/cfhead.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.sbin/sendmail/cf/m4/cfhead.m4 b/usr.sbin/sendmail/cf/m4/cfhead.m4 index 6bef4c685a3..137a0cc1f98 100644 --- a/usr.sbin/sendmail/cf/m4/cfhead.m4 +++ b/usr.sbin/sendmail/cf/m4/cfhead.m4 @@ -131,7 +131,8 @@ define(`confSMTP_LOGIN_MSG', `$j Sendmail $v/$Z; $b') define(`confRECEIVED_HEADER', `$?sfrom $s $.$?_($?s$|from $.$_) $.by $j ($v/$Z)$?r with $r$. id $i$?u for $u; $|; - $.$b') + $.$b$?g + (envelope-from $g)$.') define(`confSEVEN_BIT_INPUT', `False') define(`confEIGHT_BIT_HANDLING', `pass8') define(`confALIAS_WAIT', `10')