🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Donavan Stanley Wed, 26 Nov 1997 00:00
Redirect posts to another group?
#23676
Author: Donavan Stanley
Date: Wed, 26 Nov 1997 00:00
16 lines
1048 bytes
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?

Donavan Stanley
Usenet Dev Lead 
CompuServe Inc.

Re: Redirect posts to another group?
#23678
Author: 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

Re: Redirect posts to another group?
#23699
Author: Scott Gifford
Date: Wed, 26 Nov 1997 00:00
25 lines
1428 bytes
Donavan Stanley wrote in message <347C0BF2.222DF830@sprynet.com>...
>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?


  You could just drop the post, rewrite the headers, and send it back
through inews...And your spam filters would have to know not to look at
articles in "spam.filtered"...

  Hope this helps,

------Scott.




Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads