Article View: news.software.nntp
Article #73660Re: [leafnode] filter examples
From: Alan Connor
Date: Fri, 19 May 2006 23:19
Date: Fri, 19 May 2006 23:19
104 lines
4409 bytes
4409 bytes
On news.software.nntp, in <20060520070603@usenet.piggo.com>, "Troy Piggins" wrote: > * Alan Connor wrote: > >> On news.software.nntp, in <20060518082558@usenet.piggo.com>, >> "Troy Piggins" wrote: >> <snip> >> >> 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. How are the regexes? Limited like slrn's or like egrep? Do you have this: http://www.s-lang.org/doc/html/slang-20.html ? I've heard rumors that one can write a slrn macro that will pipe posts through other utilities. Probably as slow as procmail post-download filtering. I still haven't found the script here for that. Maybe it could be speeded up with fifos instead of temp files. > > 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. Exactly. I am tempted to write a bash script substitute for slrnpull (using netcat) that will do just that, keeping the $SLRNPULL_ROOT just like it is for slrn to read from. Wouldn't be _that_ difficult. I already have a bash SMTP script and POP script. They are very fast. > > 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. That's interesting, Troy. But it looks cumbersome. Keep us posted. Alan -- http://home.earthlink.net/~alanconnor/contact.html Other URLs of possible interest in my headers.
Technical Details
Message-ID:
<slrne6sigj.27n.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!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread3.news.pas.earthlink.net.POSTED!65807237!not-for-mailReferences:
<20060518082558@usenet.piggo.com> <slrne6sc9t.1ka.i3x9mdw@b29x3m.invalid> <20060520070603@usenet.piggo.com>Show Full Headers
Complete Article Headers
Message-ID: <slrne6sigj.27n.i3x9mdw@b29x3m.invalid> Subject: Re: [leafnode] filter examples Date: Fri, 19 May 2006 23:19:05 GMT From: Alan Connor <i3x9mdw@j9n35c.invalid> References: <20060518082558@usenet.piggo.com> <slrne6sc9t.1ka.i3x9mdw@b29x3m.invalid> <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!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread3.news.pas.earthlink.net.POSTED!65807237!not-for-mail Newsgroups: news.software.nntp X-Homepage: http://home.earthlink.net/~alanconnor/ X-Fanclub: http://www.pearlgates.net/nanae/kooks/ac/ X-Newsreader: http://slrn.sourceforge.net/docs/README.offline User-Agent: slrn/0.9.8.1 (Debian) Lines: 104 NNTP-Posting-Host: 165.121.25.205 X-Complaints-To: abuse@earthlink.net X-Trace: newsread3.news.pas.earthlink.net 1148080745 165.121.25.205 (Fri, NNTP-Posting-Date: Fri, 19 May 2006 16:19:05 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net