Article View: news.software.nntp
Article #26987Adding headers to "outbound" postings with innd?
From: Mike O'Connor
Date: Wed, 18 Mar 1998 00:00
Date: Wed, 18 Mar 1998 00:00
26 lines
1955 bytes
1955 bytes
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. ;)
On the theory that I don't want to pollute the Usenet with munged
messages, I figure I should think out loud and ask... ;)
--
Michael J. O'Connor | WWW: http://dojo.mi.org/~mjo/ | Email: mjo@dojo.mi.org
InterNIC WHOIS: MJO | (has my PGP & Geek Code info) | Phone: +1 248-848-4481
Technical Details
Message-ID:
<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-mailShow Full Headers
Complete Article Headers
Message-ID: <980221180309.AA13804@dojo.mi.org> Subject: Adding headers to "outbound" postings with innd? Date: Wed, 18 Mar 1998 00:00:00 +0000 From: "Mike O'Connor" <mjo@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: 335371666 X-Apologies: Sorry if this is an old post X-Sent-To: <mjo@dojo.mi.org> Organization: The Internet Mail-To-News-Contact: postmaster@nym.alias.net Reply-To: "Mike O'Connor" <mjo@dojo.mi.org> Newsgroups: news.software.nntp