Article View: news.software.readers
Article #206297Re: [annc] UIP - Same great taste, now with filters.
From: Peter J Ross
Date: Sat, 22 Sep 2007 18:26
Date: Sat, 22 Sep 2007 18:26
45 lines
2951 bytes
2951 bytes
In news.software.readers on 22 Sep 2007 17:28:33 GMT, Blinky the Shark <no.spam@box.invalid> wrote: > Jeffrey Goldberg wrote: >> On Sat, 22 Sep 2007 in <slrnffa2o6.1ac.pjr@pjr.gotdns.org>, Peter J >> Ross wrote: >> >>>> Here's a Leafnode 2 filter to add to your set: >>>> >>>> newsgroups = .* pattern = ^Message-ID:.*\.googlegroups\.com>\s$ >>> >>> Buggrit. pattern = ^Message-ID:.*\.googlegroups\.com>\s*$ >>> >>>> action = kill >> >> Or you could just drop the *$ from the expression: >> >> pattern = ^Message-ID:.*\.googlegroups\.com> >> >> There should be exactly one ">" in a MID so any false positive you'd >> get with this pattern are things with severely broken MIDs anyway. > > What's wrong with my and Occam's regex > > ^Message-ID:.*google.* > > Disregard "What if some non-googler uses string google in his MIDs?" > because I'm not concerned about that. But the thing you want to be disregarded is exactly what's wrong with it! What if an XNews user chooses "googlesucks" as his unique Message-ID token? You'll be plonking one of your own supporters. This is more important with leafnode than with slrn or XNews, because retrieving posts you've unintentionally killed involves not only su-ing to root to edit the filter, but also guessing how far back to go with "fetchnews -x" in order to retrieve the missing posts. (The other thing that's wrong with it is that the trailing ".*" does nothing different from leaving it out. Changing ".*" to "gr" would be a big improvement.) -- PJR :-)
Technical Details
Message-ID:
<slrnffanje.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> <slrnffa2o6.1ac.pjr@pjr.gotdns.org> <alpine.OSX.0.9999.0709221142140.12878@hagrid.ewd.goldmark.org> <slrnffak78.c0e.no.spam@thurston.blinkynet.net>Show Full Headers
Complete Article Headers
Message-ID: <slrnffanje.235.pjr@pjr.gotdns.org> Subject: Re: [annc] UIP - Same great taste, now with filters. Date: Sat, 22 Sep 2007 18:26:54 +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> <slrnffa2o6.1ac.pjr@pjr.gotdns.org> <alpine.OSX.0.9999.0709221142140.12878@hagrid.ewd.goldmark.org> <slrnffak78.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: 45 NNTP-Posting-Date: 22 Sep 2007 13:26:54 CDT X-Trace: DXC=o`@f[WOelbV0`2F^D\@i[T]AGWjF5PjPY465Ue@WB_5_L@KL1CRP]3S26Z<EbT:a\UlV3mi\haFgX[\J[m5T^07UbJm`[<XE[^Q