🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23678

Re: Redirect posts to another group?

#23678
From: Jeremy
Date: Wed, 26 Nov 1997 00:00
39 lines
2091 bytes
[posted and mailed]
Donavan Stanley  <tcsoft@sprynet.com> wrote:

> We have a quite extensive anti-spam filter running on our INN 1.7
> machines.  I'd also like to go forward with more anti-spam features (
> NoCEM, spam-hippo, etc. ) but before I do my management would like me to
> look into redirecting posts that get caught by the filters into a
> different group ( Something like 'spam.filtered' ) that would be kept
> only on our new servers and not passed on to our peers.
> 
> Does anyone out there have a patch that could do this or have the
> knowledge of the INN internals enough to create one?

The overhead would be non-trivial if you're doing full-feed filtering,
but if your system can take the abuse, it's not very difficult.  No
patches necessary.  In fact, I do just this for local posts; anything
locally generated gets reposted to a private newsgroup, where it is kept
for 14 days.

Have your spam filter do the following, when it gets a hit:

Change the Newsgroups header to X-Original-Newsgroups
Add a header:  Newsgroups: spam.filtered
Change the Message-ID to <redirect.original-message-id>
Dump the resulting article into your in.coming directory, with a
guaranteed-unique filename.

Then, run rnews -U every few minutes from cron, to pick up the
posts and inject them into your server.

Make sure your filter knows to ignore anything in spam.filtered,
or you'll get loops.

-- 
Jeremy  |  jeremy@exit109.com
"Never tell me the odds."  --Han Solo

Technical Details
Message-ID: <65hp2r$rc6$1@news1.exit109.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!not-for-mail
References: <347C0BF2.222DF830@sprynet.com>

Show Full Headers
Complete Article Headers
Message-ID: <65hp2r$rc6$1@news1.exit109.com>
Subject: Re: Redirect posts to another group?
Date: Wed, 26 Nov 1997 00:00:00 +0000
From: Jeremy <jeremy@exit109.com>
References: <347C0BF2.222DF830@sprynet.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!not-for-mail
X-Deja-AN: 292913758
Originator: jeremy@exit109.com (Jeremy)
Organization: Still working on it...
Newsgroups: news.software.nntp