🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.misc
Article #3428

C NEWS -- passing NNTP retrieved articles through a rewriting filter

#3428
From: J C Lawrence
Date: Sat, 10 Jul 2004 06:41
18 lines
1881 bytes
I'm running C NEWS and would like to have articles passed through a
script which rewrites the article (headers and body) before sending it
to the NNTP-based reader.  Any pointers on where to start implementing
such a thing?  Yes, each request of the same article (via NNTP) may
get a different version of the same article, but the version in the
spool will be virgin.

Specifically I'm gating moderated mailing lists to/from CNEWS and need
to rewrite retrieved messages during the NNTP conversation for various
email-address rewriting/spam-hiding etc purposes.  Unfortunately
external requirements don't allow me to rewrite the articles before
storage (the re-writing algorithm is rather dynamic).

Thanks for any help.

-- 
J C Lawrence
claw+google@kanga.nu
Technical Details
Message-ID: <49682b7e.0407092241.2fad02e4@posting.google.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.misc.20140428.mbox.gz!number1.nntp.sjc.giganews.com!number1.nntp.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!feed2.news.rcn.net!feed1.news.rcn.net!rcn!wn14feed!worldnet.att.net!199.218.7.141!news.glorb.com!postnews2.google.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <49682b7e.0407092241.2fad02e4@posting.google.com>
Subject: C NEWS -- passing NNTP retrieved articles through a rewriting filter
Date: Sat, 10 Jul 2004 06:41:28 +0000
From: claw+google@kanga.nu (J C Lawrence)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.misc.20140428.mbox.gz!number1.nntp.sjc.giganews.com!number1.nntp.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!feed2.news.rcn.net!feed1.news.rcn.net!rcn!wn14feed!worldnet.att.net!199.218.7.141!news.glorb.com!postnews2.google.com!not-for-mail
Newsgroups: news.software.misc
Organization: http://groups.google.com
Lines: 18
NNTP-Posting-Host: 66.212.208.102
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1089441689 21237 127.0.0.1 (10 Jul 2004 06:41:29
 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 10 Jul 2004 06:41:29 +0000 (UTC)