🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #231599

Re: filter on body

#231599
From: Karl Kleinpaste
Date: Tue, 17 Mar 2009 21:53
28 lines
2509 bytes
Piepkuiken <nee@ooknee.kr> wrote:
>> I want to make my newsreader automatically delete messages based on a 
>> keyword found in the BODY of the message (not the subject line).

Whiskers <catwheezel@operamail.com> writes:
> The body will have to be fetched before anything can be done with it.

Not precisely true.

If your news server is INN, then automatic keyword generation can be
enabled in it, if you can convince the newsadmin at that host to do so.
Once that is done, articles' essential body content can be scored/killed
via the Keywords: header.

Since INN 2.3 or so, the relevant keyword-grinding bits have been
available.  Basically, add "Keywords:full" to overview.fmt, and set a
few things in inn.conf, e.g.:

keywords:               true
keyartlimit:            100000
keylimit:               512
keymaxwords:            250

I wrote this facility for INN back in 1996 or so.  It has served me well
for over a decade, and I keep these bits enabled in my own INN.  I find
it invaluable and would not use an NNTP server without it.

--karl
Technical Details
Message-ID: <vxkmybjsto5.fsf@mesquite.kleinpaste.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!nntp.club.cc.cmu.edu!newsfeeder.srv.cs.cmu.edu!wolfberry.srv.cs.cmu.edu!news.kleinpaste.org!not-for-mail
References: <49bf6457_3@news4us.nl> <slrngrvag0.bpi.catwheezel@ID-107770.user.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <vxkmybjsto5.fsf@mesquite.kleinpaste.org>
Subject: Re: filter on body
Date: Tue, 17 Mar 2009 17:53:14 -0400
From: Karl Kleinpaste <invalid@kleinpaste.org>
References: <49bf6457_3@news4us.nl> <slrngrvag0.bpi.catwheezel@ID-107770.user.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!nntp.club.cc.cmu.edu!newsfeeder.srv.cs.cmu.edu!wolfberry.srv.cs.cmu.edu!news.kleinpaste.org!not-for-mail
Newsgroups: news.software.readers
Organization: Kleinpaste clan
Lines: 28
Reply-To: MyGivenName+usenet@kleinpaste.org (figure it out: k+u@k.o)
NNTP-Posting-Host: crabapple.srv.cs.cmu.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: wolfberry.srv.cs.cmu.edu 1237326902 19294 128.2.206.189 (17 Mar 2009
X-Complaints-To: abuse@cs.cmu.edu
NNTP-Posting-Date: Tue, 17 Mar 2009 21:55:02 +0000 (UTC)
X-Face: "5(T0tZd{6}pd~YzBG8O/*EW,.]6]@`m^e; fv65W^Y&=d"M\1H}>T~4_.kcDD.O~y3k)a6
 hR; Nmi>9|>Nm${2IpM0^RcUEa\jcq?KOP)C&~x51l~zCHTulL^_T|u0I^kB'z@]{`2YjQu
User-Agent: Gnus/5.110011 (No Gnus v0.11) XEmacs/21.5-b28 (linux)
Cancel-Lock: sha1:HCAb1EhMlWeSu3B0CpoDF0VokoE=
X-Original-Bytes: 2241