🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #27003

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

#27003
From: st. paul's wort
Date: Wed, 18 Mar 1998 00:00
27 lines
1960 bytes
In article <980221180309.AA13804@dojo.mi.org>,
Mike O'Connor <mjo@dojo.mi.org> wrote:
>I have a transit server, and don't control the internal reader servers
>that feed it.  What I'd like to do is add a header to every article
>that comes from the inside -- an "X-Disclaimer:" header, for example.
>Has anyone done this before?  Has anyone thought about issues like:
>*  How should INN determine that it's inside?  Would analysis of the
>   Message-ID: for <{blah}@disclaimerville.com> be sufficient, or maybe
>   a channel feed that would apply to all articles not coming in via 
>   all my external feeds, or maybe running something "special" listening 
>   to the IP interface that all the internal servers feed me on, or what?
>*  How should I do this safely and quickly?  I don't want to cause
>   problems for things like PGP-signed articles, or having it do too
>   much extra work per inbound article?  I'm presuming that art.c is
>   the right place to do this kind of thing, but I'm not 100% sure --
>   maybe now is a good excuse to delve more into perl5.  ;)

I would add a perl hook that adds the X-Disclaimer to all posts
accepted by nnrpd.  No need to muck with the source.

rone
-- 
The finest day that i ever had
Was when i learned to cry on demand

Technical Details
Message-ID: <rone.WedMar18163721PST1998.14071@ennui.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>

Show Full Headers
Complete Article Headers
Message-ID: <rone.WedMar18163721PST1998.14071@ennui.org>
Subject: Re: Adding headers to "outbound" postings with innd?
Date: Wed, 18 Mar 1998 00:00:00 +0000
From: rone+usenet@ennui.org (st. paul's wort)
References: <980221180309.AA13804@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: 335422245
X-URL: http://www.ennui.org/~rone/
X-Trace: 890267947 1079 rone 206.184.139.132
Organization: H�mper D� Boys Choir
Newsgroups: news.software.nntp