🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60292

Re: INN Appending Headers

#60292
From: Steve
Date: Sun, 08 Sep 2002 09:14
25 lines
1895 bytes
Jeffrey M. Vinocur wrote:

> In article <3d79be33$1_6@news5.nntpserver.com>,
> Steve  <steve@nospam.invalid.com> wrote:
>>Jeffrey M. Vinocur wrote:
>>
>>> Yeah.  The Perl posting filters can do this (there's a flag to
>>> set if you want to change the headers).
>> 
>>I've spent a while looking for documentation regarding what I'm trying
>>to do, but it seems to be a bit thin.
> 
> You're looking for INN documentation, actually.  For your version
> it should be README.perl_hook in the source tree.  There's
> information there about modifying headers.
> 

Thanks, I found it this time, was looking in the wrong place as usual. :)

If my limited understanding is correct though, the filter_nnrpd.pl 
routine is only called for articles received via a POST command.  In the 
case of my server, they are being received via an IHAVE type feed and so 
the filter_innd.pl routine is called instead which doesn't have the 
capability to modify or append header fields.
Technical Details
Message-ID: <3d7b14f8$1_2@news5.nntpserver.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!feed.cgocable.net!newsfeed-east.nntpserver.com!nntpserver.com!reseller.nntpserver.com!news5.nntpserver.com!not-for-mail
References: <3d787df0$1_2@news5.nntpserver.com> <al9vkv$vlv$1@puck.litech.org> <3d79be33$1_6@news5.nntpserver.com> <ald0nt$c4d$1@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <3d7b14f8$1_2@news5.nntpserver.com>
Subject: Re: INN Appending Headers
Date: Sun, 08 Sep 2002 09:14:32 +0000
From: Steve <steve@nospam.invalid.com>
References: <3d787df0$1_2@news5.nntpserver.com> <al9vkv$vlv$1@puck.litech.org> <3d79be33$1_6@news5.nntpserver.com> <ald0nt$c4d$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!feed.cgocable.net!newsfeed-east.nntpserver.com!nntpserver.com!reseller.nntpserver.com!news5.nntpserver.com!not-for-mail
Newsgroups: news.software.nntp
User-Agent: Xnews/5.04.25
Lines: 24
X-Abuse-Report: abuse@nntpserver.com
Organization: http://www.nntpserver.com