🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #27033

Re: Adding headers to "outbound" postings with innd?

#27033
From: Fluffy
Date: Thu, 19 Mar 1998 00:00
14 lines
1534 bytes
Mike O'Connor <mjo@dojo.mi.org> wrote:
: I can't hack nnrpd since the posts are going to be sent to me from an
: internal feeding machine.  If I had the ability to do this at the
: newsreader server level, I wouldn't be asking how to hack innd to do it. 

Well then, I think you'll have to hook something into ARTpost in art.c. 
You can look at something like Data->Feedsite to see if it's one of
your readers, then stuff in the headers you need.  A good place to do
this might be right before ARTassignnumbers() {the Xref stuff} gets
called, since by then we've pretty much decided to keep the article. 
ARTassignnumbers itself will give you some hints on how to add headers.

Technical Details
Message-ID: <Eq374w.12G@fluffy.meow.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!not-for-mail
References: <980221180309.AA13804@dojo.mi.org> <rone.WedMar18163721PST1998.14071@ennui.org> <6epsj8$hpm$1@news1.exit109.com> <rone.WedMar18175109PST1998.24809@ennui.org> <980319211550.AA17381@dojo.mi.org>

Show Full Headers
Complete Article Headers
Message-ID: <Eq374w.12G@fluffy.meow.org>
Subject: Re: Adding headers to "outbound" postings with innd?
Date: Thu, 19 Mar 1998 00:00:00 +0000
From: fluffy@meow.org (Fluffy)
References: <980221180309.AA13804@dojo.mi.org> <rone.WedMar18163721PST1998.14071@ennui.org> <6epsj8$hpm$1@news1.exit109.com> <rone.WedMar18175109PST1998.24809@ennui.org> <980319211550.AA17381@dojo.mi.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!not-for-mail
X-Deja-AN: 335728592
Sender: fluffy@fluffy.meow.org (Fluffy)
X-Server-Date: 19 Mar 1998 22:14:56 GMT
X-Bozo: yes
Mail-Copies-To: never
Organization: Usenet, a division of Meow Industries
Newsgroups: news.software.nntp