summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sendmail
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-10-04 11:10:19 +0000
committerpeter <peter@FreeBSD.org>1997-10-04 11:10:19 +0000
commit0fa44e4a84005bf3b1d7738ca21c418f6d005479 (patch)
tree0808f3192fcf3bc4b2838043ac9294382e01771d /usr.sbin/sendmail
parentebecd05f585e99538d394a0b7574b8a8123c9fe9 (diff)
downloadFreeBSD-src-0fa44e4a84005bf3b1d7738ca21c418f6d005479.zip
FreeBSD-src-0fa44e4a84005bf3b1d7738ca21c418f6d005479.tar.gz
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.
Diffstat (limited to 'usr.sbin/sendmail')
-rw-r--r--usr.sbin/sendmail/cf/m4/cfhead.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/sendmail/cf/m4/cfhead.m4 b/usr.sbin/sendmail/cf/m4/cfhead.m4
index 6bef4c6..137a0cc 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')
OpenPOWER on IntegriCloud