Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 May 2002 20:46:52 +0000
From:      Dima Dorfman <dima@trit.org>
To:        doc@freebsd.org
Cc:        wosch@freebsd.org
Subject:   Recording originating address in dosendpr.cgi
Message-ID:  <20020511204652.64D6A3E24@turbine.trit.org>

next in thread | raw e-mail | index | archive | help
See PR 37957.  It was sent from the web interface, and we can't trace
it any further than that.  I propose to record the originating address
in the mail headers of the PR.  A patch to do that is attached below;
please review.

Thanks.

Index: dosendpr.cgi
===================================================================
RCS file: /ref/cvsf/www/en/cgi/dosendpr.cgi,v
retrieving revision 1.7
diff -u -r1.7 dosendpr.cgi
--- dosendpr.cgi	13 Jun 2001 20:36:59 -0000	1.7
+++ dosendpr.cgi	11 May 2002 20:40:49 -0000
@@ -71,6 +71,7 @@
 $pr = "To: $gnemail\n" .
       "From: $cgi_data{'originator'} <$cgi_data{'email'}>\n" . 
       "Subject: $cgi_data{'synopsis'}\n" .
+      "X-Originating-IP: $ENV{'REMOTE_ADDR'}\n" .
       "X-Send-Pr-Version: www-1.0\n\n" .
       ">Submitter-Id:\t$cgi_data{'submitterid'}\n" .
       ">Originator:\t$cgi_data{'originator'}\n" .

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020511204652.64D6A3E24>