🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26966

Diablo filter support

#26966
From: Joe Greco
Date: Tue, 17 Mar 1998 00:00
54 lines
2529 bytes
I've been hacking again.

I have been, for quite some time, displeased with the support for
filtering in Diablo.  I've wanted to be able to "plug in" a better,
more comprehensive spam filter, and the inability has been a bit
frustrating - especially since I've developed a filter that works
with Cyclone, and since both CleanFeed and Spam Hippo are available
in Cyclone variants.

I've written some prototype code ...  it's not available yet, but I
am soliciting comments.

diab-filter is an extension to Diablo that modifies the main Diablo
process.  It uses an external filter process to classify an article,
before being sent to newsfeeds.

The external filter interface is substantially similar to the Cyclone
interface.  It currently feeds the complete article, and does not have
an "early abort" feature, but both would be relatively easy to add.
It expects a "3xx" or "4xx" class error to be returned.  It does not
care beyond that.  It is somewhat capable of dealing with a thrashing 
filter program, although it does not yet have any timeouts.

diab-filter does _not_ remove the article from the Diablo spool at this
time.  It will _not_ save you any disk space.

However, it _does_ allow you to specify some additional keywords in your
dnewsfeeds file:

label   mci
        alias           newsfeed.internetmci.com
        addgroup        *
        rtflush
        nospam
end

label   mci-s
        alias           newsfeed.internetmci.com
        addgroup        *
        onlyspam
end

I'm using it to lower the priority on certain articles and "late-send"
them.  (My filter is configured to detect more than spam, it's configured 
to tag any article that I would consider "low priority" traffic of some 
sort).

Am I the only one who wants this sort of thing?  Or should I polish it up
and make it available?

... JG

Technical Details
Message-ID: <6emooo$cke@newsops.execpc.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

Show Full Headers
Complete Article Headers
Message-ID: <6emooo$cke@newsops.execpc.com>
Subject: Diablo filter support
Date: Tue, 17 Mar 1998 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
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: 334987989
Sender: jgreco@earth.execpc.com
X-Complaints-To: abuse@execpc.com
X-Trace: daily-planet.newsops.execpc.com 890168920 12942 (None) 169.207.16.1
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp