🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #199892

Re: ignoring known trolls/idiots via score file

#199892
From: Whiskers
Date: Tue, 29 May 2007 14:54
42 lines
3201 bytes
On 2007-05-29, vince <nobody@home.invalid> wrote:
> On Mon, 28 May 2007 21:34:17 -0400, Mike Yetto
> <mike.yetto@nycap.invalid> wrote:
>
>>If you know regexp and how one filtering system works, you 
>>should be able to make a filter/score file for 
>>leafnode/slrn/whatever.
>
> I'm still learning and can add rules to the score file as I go.  Want
> to stream line the process, so I'm not adding rules ona case by case
> basis.  
>
> Am trying to come up with a filter that will mark an entire thread
> read when it is started by a knowntroll.  All that is known is the
> knowntrolls From:  and that it started a thread.  Based on those two
> items, I want to automatically assign a negative score to every post
> in that thread.

Slrn's k command will build a score-file entry for you, based on, among 
other options, the References header of any article containing the 
Message-ID of the current article.  That achieves exactly what you seem to 
want, apart from the first stage of spotting the post by that person.

There is a slrn macro called "onekey-score.sl" which can speed up the 
process of creating such score-file entries; see 
<http://www.slrn.org/macros/onekey-score.sl>.  (I haven't tried it 
myself).

Another slrn macro that might be of interest is "turbo-plonk.sl"; see 
<http://www.wannabehacker.com/src/>.  I confess that I haven't quite 
worked out what this macro actually does let alone how, but I /think/ it 
might do exactly what you want, getting a list of From names from 
somewhere and extracting the Message-IDs associated with each of those 
names to create a 'plonk' entry on those MIDs in any References header - 
thus plonking all threads or sub-threads started by those people.  Perhaps 
someone who actually knows S-lang will be able to describe how to make 
this macro work.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Technical Details
Message-ID: <20070529145448.38FA.2.NOFFLE@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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <07om53lst737r0k97gimq9etapeitbobf9@4ax.com> <Xns993EDB700C77uniquelyme@nntp.motzarella.org> <tj7o53d4gjuavj72lkbkf5cb0hm0a01fl0@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <20070529145448.38FA.2.NOFFLE@ID-107770.user.individual.net>
Subject: Re: ignoring known trolls/idiots via score file
Date: Tue, 29 May 2007 15:54:48 +0100
From: Whiskers <catwheezel@operamail.com>
References: <07om53lst737r0k97gimq9etapeitbobf9@4ax.com> <Xns993EDB700C77uniquelyme@nntp.motzarella.org> <tj7o53d4gjuavj72lkbkf5cb0hm0a01fl0@4ax.com>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: is an alien concept
Lines: 42
X-Trace: individual.net lb0VxqfqbQBbQ5mi9CkNCwa+kPPlfdsIsjUzb9AXgi3s9EvLoG
X-Orig-Path: ID-107770.user.individual.net!not-for-mail
X-Face: (8UIp\C%,7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_"Pmt)1xC~QW%bU/xrlDuux";
 aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00xYer];
 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@p&
 g^8<z5>HA
User-Agent: slrn/0.9.8.1 (Linux)