aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1998-08-04 12:44:19 +0000
committerPeter Wemm <peter@FreeBSD.org>1998-08-04 12:44:19 +0000
commit8c7de60340c28a7fdb35da834dfb706eae3bd560 (patch)
treeb80f687adb3d3208157c04a4e9a5ee36c397b45e /contrib
parent1c08e860a176ff088faf079e42b5e9bab1932825 (diff)
downloadsrc-8c7de60340c28a7fdb35da834dfb706eae3bd560.tar.gz
src-8c7de60340c28a7fdb35da834dfb706eae3bd560.zip
Copy across rev 1.2 of usr.sbin/sendmail/cf/m4/cfhead.m4: Record envelope
sender in each Received: header along the way. Great for spammer hunting.
Notes
Notes: svn path=/head/; revision=38073
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sendmail/cf/m4/cfhead.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/sendmail/cf/m4/cfhead.m4 b/contrib/sendmail/cf/m4/cfhead.m4
index a7a109856d4e..d5778e8a4b19 100644
--- a/contrib/sendmail/cf/m4/cfhead.m4
+++ b/contrib/sendmail/cf/m4/cfhead.m4
@@ -113,7 +113,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')