Article View: news.software.readers
Article #199849Re: ignoring known trolls/idiots via score file
From: Mike Yetto
Date: Tue, 29 May 2007 01:34
Date: Tue, 29 May 2007 01:34
81 lines
4850 bytes
4850 bytes
While walking through the streets of Soho in the rain
vince wrote...
> As a dial up user, I need to be able to read usenet
> offline. Until recently, Agent, even though I have to use
> WINE these days, was my usenet client of choice. But after
> long time lurking in this froup, I've got a successful
> install of leafnode running and that opens up a whole new
> world. The transition to a native Linux usenet reader is
> in progress!
>
You can specify a filter file with leafnode and block what you
know you don't want early.
This is from "man applyfilter" and pertains to leafnode.
-----
FILES
A file specified in the filterfile option of
/etc/news/leafnode/config contains the set of
filtering rules that are applied to the newsspool.
Each rule must be on a separate line. Empty lines and
comments (marked by a # which MUST be at the beginning
of the line) are allowed and will be ignored.
Each line contains a regular expression that will
be compiled with the PCRE_MULTILINE option set (unless
it is a comment line or an empty line). Every
regular expression applied to the whole message
header (folded message headers are unfolded before the
match is attempted). If any regular expression
matches the header, the posting gets removed.
For example, the following set of rules will delete
all crosspostings to alt.flame.
^Newsgroups:.*[, ]alt.flame$
^Newsgroups:.*[, ]alt.flame,
^Newsgroups: indicates that the pattern should only
be applied to the Newsgroups: header. After the
header, an arbitrary number of characters may follow,
ending in either a comma or a space. After that,
alt.flame must be in the line, either at the end of
the line (first entry) or in the middle of the line,
followed by other newsgroups (second entry).
Unfortunately, regular expressions are a complex
matter and outside the scope of this doc? ument.
Please see the manual pages provided with the PCRE
library for details.
Note that some leafnode programs (such as fetchnews)
feed the header line by line to the regexp (after
unfolding), others (such as applyfilter) feed the
whole header in one large blob. This does not
usually matter because patterns are compiled in
multiline mode, but will matter if you're trying to
match multiple headers in the same regexp -- this
would work with applyfilter, but not with fetchnews.
-----
> Have looked at Knode, Pan and slrn and think I prefer slrn,
> but still have a major stumbling block. How do I use the
> slrn score file to ignore any and all threads initiated by
> known trolls/idiots/kooks, without opening the first post
> to create a rule, based on some criteria, presumably the
> message-id?
>
>
If you know regexp and how one filtering system works, you
should be able to make a filter/score file for
leafnode/slrn/whatever.
Mike "Usenet should *not* be for dummies" Yetto
--
"There is danger from all men. The only maxim of a free
government ought to be to trust no man living with power to
endanger the public liberty."
- John Adams
Technical Details
Message-ID:
<Xns993EDB700C77uniquelyme@nntp.motzarella.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!uucp.gnuu.de!news.svengo.de!news.motzarella.org!newsReferences:
<07om53lst737r0k97gimq9etapeitbobf9@4ax.com>Show Full Headers
Complete Article Headers
Message-ID: <Xns993EDB700C77uniquelyme@nntp.motzarella.org>
Subject: Re: ignoring known trolls/idiots via score file
Date: Mon, 28 May 2007 21:34:17 -0400
From: Mike Yetto <mike.yetto@nycap.invalid>
References: <07om53lst737r0k97gimq9etapeitbobf9@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!t-online.de!news.karotte.org!uucp.gnuu.de!news.svengo.de!news.motzarella.org!news
Newsgroups: news.software.readers
Organization: None at all
Lines: 81
X-Trace: tomate.motzarella.org
U2FsdGVkX18JZ8d4dOWFNULoeu9RedchXOwLMd8/zUcBUWV4wTw6+oViRsZa1rdHt8WGZHj836d727dt4uPtBr48pJhSlHCZUY/BPFPKw5WnEqFJEgOk+/yISgL3rdv+MfSdHIHLuk72SUEcKANsFw==
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
headers
NNTP-Posting-Date: Tue, 29 May 2007 01:40:07 +0000 (UTC)
X-Auth-Sender: U2FsdGVkX1+xpYvOchDNQb3kh4RQoVctSVjq7HqnNVu+10kzMR80OA==
X-No-Bananas: Yes
X-Face: |r>RlUD1uaj^+}lH:1x}DRPEVBE10?q; 6kK-z/g54Sm5un@|e'd;
MBx>,mw4U_J{:@+2{^77p/rY\g%7gE$V,}ZT?e>5tttHXeodYk\'q1Jv5R1Y@297IYtjygnnPfR4'8>3c:<<bJtx#[<5rd-UP_F?\?j>[5:.5ViK#8o+?^D{hi=c0]5Z=6d,|`tq_:(C1(1`@FbN)Cj(]D*}z[o"<~cu!|Is\2(e#[-Fjeg_M7PS/@LG
User-Agent: Xnews/2006.08.24