Article View: news.software.readers
Article #206294Re: [annc] UIP - Same great taste, now with filters.
From: Peter J Ross
Date: Sat, 22 Sep 2007 18:03
Date: Sat, 22 Sep 2007 18:03
55 lines
2911 bytes
2911 bytes
In news.software.readers on 22 Sep 2007 17:23:11 GMT, Blinky the Shark <no.spam@box.invalid> wrote: > Peter J Ross wrote: > >> Here's a Leafnode 2 filter to add to your set: >> >> newsgroups = .* >> pattern = ^Message-ID:.*\.googlegroups\.com>\s*$ Typo fixed. But as has been pointed out, you could drop "\s*$" without doing any harm. >> action = kill >> >> or use >> pattern = ^Message-Id:.*google.*$ > > I trust one still points to a filter file from leafnode's config file? Yes, but the filterfile format has changed since version 1. It's now much more powerful, and consequently more complicated - though still no more complicated than an ordinary newsreader scorefile. > Perhaps rather than trying to maintain these for old versions of > clients I'll replace what I have for leafnode with your first example. No, there are plenty of Leafnode 1 users, and Leafnode 2 is still officially "alpha" software, and therefore has to be installed from source instead of via a distribution's repositories. > Or does the second work with both versions? It's not clear if "a > Leafnode 2 filter" refers to the second one, too. You need the "newsgroups" and "action" lines for both versions of the rule, which will work only in Leafnode 2. This is probably the simplest version for your purposes: newsgroups = .* pattern = ^Message-ID:.*google action = kill For people who whitelist some Gropers, I'd suggest using scoring: newsgroups = .* pattern = ^Message-ID:.*google action = -10 pattern = ^From:.*(foo|bar|foobar) action = 10 -- PJR :-)
Technical Details
Message-ID:
<slrnffam81.235.pjr@pjr.gotdns.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!postnews.google.com!news1.google.com!news.glorb.com!news-out.octanews.net!indigo.octanews.net!authen.yellow.readfreenews.net.POSTED!not-for-mailReferences:
<slrnff6b38.pk.no.spam@thurston.blinkynet.net> <5r58f3tfvj6ds3iv01e2nldc06mo3ardh0@4ax.com> <slrnff87mp.lgu.no.spam@thurston.blinkynet.net> <slrnff9pcg.1ac.pjr@pjr.gotdns.org> <slrnffajt6.c0e.no.spam@thurston.blinkynet.net>Show Full Headers
Complete Article Headers
Message-ID: <slrnffam81.235.pjr@pjr.gotdns.org> Subject: Re: [annc] UIP - Same great taste, now with filters. Date: Sat, 22 Sep 2007 18:03:46 +0000 From: Peter J Ross <pjr@example.invalid> References: <slrnff6b38.pk.no.spam@thurston.blinkynet.net> <5r58f3tfvj6ds3iv01e2nldc06mo3ardh0@4ax.com> <slrnff87mp.lgu.no.spam@thurston.blinkynet.net> <slrnff9pcg.1ac.pjr@pjr.gotdns.org> <slrnffajt6.c0e.no.spam@thurston.blinkynet.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!postnews.google.com!news1.google.com!news.glorb.com!news-out.octanews.net!indigo.octanews.net!authen.yellow.readfreenews.net.POSTED!not-for-mail Newsgroups: news.software.readers Organization: none Reply-To: Peter J Ross <pjr.spam@gmail.com> User-Agent: slrn/0.9.8.1pl2.1 (Linux) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 55 NNTP-Posting-Date: 22 Sep 2007 13:03:46 CDT X-Trace: DXC=\hR5R30D@W_>F>[bO_D9]T]AGWjF5PjPY465Ue@WB_5_L@KL1CRP]3S26Z<EbT:a\UlV3mi\haFgX[\J[m5T^07UbJm`[<XE[^Q