Article View: news.software.nntp
Article #67275Re: Rewrite header of posting
From: Russ Allbery
Date: Fri, 28 Nov 2003 18:56
Date: Fri, 28 Nov 2003 18:56
16 lines
1865 bytes
1865 bytes
Arne Schmitz <arne.schmitz-nospam@mmweg.rwth-aachen.de> writes:
> Is there an easy way to rewrite parts of the header in a posting with
> INN? I specifically would like to be able to rewrite the From field in
> an INN installation.
You have to use the Perl or Python hooks and write some code to do it.
See the hook documentation for more details; you have to set a variable in
the hook code to tell INN to pay attention to the changes that you make in
the hook.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87zneguxtj.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailReferences:
<bq7f0v$7nu$1@nets3.rz.RWTH-Aachen.DE>Show Full Headers
Complete Article Headers
Message-ID: <87zneguxtj.fsf@windlord.stanford.edu> Subject: Re: Rewrite header of posting Date: Fri, 28 Nov 2003 10:56:08 -0800 From: Russ Allbery <rra@stanford.edu> References: <bq7f0v$7nu$1@nets3.rz.RWTH-Aachen.DE> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 16 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1070045768 14507 171.64.19.147 (28 Nov 2003 X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Common Lisp, linux) Cancel-Lock: sha1:O71Td56GHtHoG3NHHIR/TZ/38gA=