🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #37295

Re: Blocking a host without losing information

#37295
From: Russ Allbery
Date: Thu, 06 May 1999 00:00
32 lines
2101 bytes
bill davidsen <davidsen@tmr.com> writes:

> I have a list of hosts which generate almost all spam, and I would love
> to block posts from them. The problem is that if I add them to the ME
> line the posts get rejected, but posts passing through them get marked
> as seen, and legitimate posts get dropped. I don't have a really good
> way to identify the spam from the good stuff, on a given day I got 9200
> posts through this host, of which 40-50 posts originating on the host
> were valid, and perhaps 200 posts passing through were valid. All else
> was SPAM.

> The valid posts passing through will eventually get to me by another
> route, but I will reject them if I block the host. I tricd blocking the
> host, unfortunately that lost some stuff the readers *really* want to
> see.

As soon as I manage to get a test server up so that I can test it, I'll be
submitting a patch to the INN Perl filter support that will allow you to
do what you want via a Perl filter.  Basically, the patch will make it so
that if the first word of the returned rejection reason is some keyword
(haven't decided what a good one would be yet), the article is rejected
but the message ID isn't added to history even if you're running with
remembertrash.

If you reject on precommit or if your peers drop deferred articles, you
could still lose, but under most circumstances that should mean you'll
pick the article up again via another path.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <ylzp3hv8qx.fsf@windlord.stanford.edu>
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: <7gqcmv$fs4$1@newssvr01-int.news.prodigy.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylzp3hv8qx.fsf@windlord.stanford.edu>
Subject: Re: Blocking a host without losing information
Date: Thu, 06 May 1999 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <7gqcmv$fs4$1@newssvr01-int.news.prodigy.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: 475017413
Organization: The Eyrie
Newsgroups: news.software.nntp