🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73659

Re: [leafnode] filter examples

#73659
From: Troy Piggins
Date: Fri, 19 May 2006 21:29
76 lines
3504 bytes
* Alan Connor wrote:
> On news.software.nntp, in <20060518082558@usenet.piggo.com>,
> "Troy Piggins" wrote:
>
>> Got my leafnode server up and running smooth.  Liking it so
>> far.
>>
>> Just wondering if anyone has some sample filters to post or
>> links?
>>
>> The 2 line sample filters provided with the package are pretty
>> simplified.  I'll come up with some of my own but no need to
>> reinvent the wheel I reckon.
>
> What's your impression of leafnode's scoring compared with
> that of slrn's so far, Troy?

It's not really scoring, but rather a filter.
There's basically a file with one line regexes to match headers, and if
a post matches those headers it isn't downloaded.  That's my rather
simplified view of it.

For detailed scoring I still use slrn.

> As an aside: Wouldn't it be grand to have a
> 'slrnpull-equivalent' that would allow us to download
> posts through procmail?
>
> (post download filtering with procmail is clumsy as hell)

Just need the ability to pipe messages through some program.  Leafnode
can't do that either from what I've seen so far.

I've only just discovered this protocol called NoCeM for stopping spam.
http://www.cm.org/

Seems interesting concept.  Looks like it's been around a while but it's
new to me.  My basic understanding is that when a spam message posted to
news servers gets discovered, a post (automated?) gets made to some
dedicated (and moderated?) newsgroups like news.lists.filters and
alt.nocem.misc  This post's body has some code in it like this:

-----8<-----
@@BEGIN NCM HEADERS
Version: 0.93
Issuer: crosspost-stopper@khms.westfalen.de
Type: velveeta
Threshold: 30
Action: hide
Count: 2
Notice-ID: crosspost-stopper#20060519223311
@@BEGIN NCM BODY
<446e216a$0$1215$9a6e19ea@news.newshosting.com> alt.atheism
        alt.current-events.clinton.whitewater
        alt.philosophy
        alt.religion.christian.roman-catholic
        alt.society.liberalism
        sci.skeptic
<jgkeegan-B35704.16205319052006@individual.net> alt.politics.greens
        alt.atheism
        alt.abortion
        alt.bible
        talk.politics.animals
        talk.abortion
@@END NCM BODY
-----8<-----

which I assume others can use to handle the same messages.  Sort of
like sharing filters.

Haven't found anywhere if it can be used with leafnode but still looking
ATM.

-- 
Troy Piggins                                RLU#415538 <http://counter.li.org>
My dogma just ran over my karma 
Technical Details
Message-ID: <20060520070603@usenet.piggo.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nntp.waia.asn.au!203.59.27.186.MISMATCH!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
References: <20060518082558@usenet.piggo.com> <slrne6sc9t.1ka.i3x9mdw@b29x3m.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <20060520070603@usenet.piggo.com>
Subject: Re: [leafnode] filter examples
Date: Sat, 20 May 2006 07:29:43 +1000
From: Troy Piggins <usenet-0605@piggo.com>
References: <20060518082558@usenet.piggo.com> <slrne6sc9t.1ka.i3x9mdw@b29x3m.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nntp.waia.asn.au!203.59.27.186.MISMATCH!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
Newsgroups: news.software.nntp
Reply-To: usenet-0605@piggo.com
User-Agent: slrn/0.9.8.1/rt (Linux)
Lines: 76
NNTP-Posting-Host: 203.206.74.180
X-Trace: 1148076013 per-qv1-newsreader-01.iinet.net.au 31559 203.206.74.180