🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #222957

Re: [Leafnode] Why is my filter not working?

#222957
From: Troy Piggins
Date: Mon, 07 Jul 2008 00:59
62 lines
3677 bytes
* Peter J Ross wrote :
> In news.software.readers on Sun, 06 Jul 2008 10:34:42 -0700, Sidney
> Lambe <nospam@nospam.invalid> wrote:
>
>> [phlat_arse  ]  2 Re: Hummingbird/Aracari and the boy who cried wolf
>> [phlat_arse  ]  2 Re: runnin 'a preSch00L [was] [..] RFN [..]
>> [phlat_arse  ]  6 Re: What is with AOIE banlist?
>> [Ray Banana  ]    Re: [ot] The Pixie/Justagoose dog and pony show . . .
>> [phlat_arse  ]  4 Re: [ot] What's that idiot phlat_arse trying to do?
>
> Yes, one of those two posters seems to have nothing interesting to
> say.
>
>> Would someone please tell me why my filter isn't killing this garbage?
>>
>> newsgroups = ^news\.software\.readers$
               ^^^                     ^^^
I'm not sure about how this pattern behaves with begin and end
delimiters like this if the message is crossposted.  I'd use
something a little more loose, and keep the patterns as you have
below.

  newsgroups = .*news\.software\.readers

or even just

  newsgroups = news\.software\.readers

should be good enough.

>> pattern = ^Newsgroups:.*alt\.free\.newsservers
>> action = kill
>>
>> pattern = ^Subject: .*(?i)(slrn|slrnpull|leafnode|pcre|slang)
>                      ^
>> action = select
>>
>> pattern = ^Subject: .*
>                      ^
>> action = kill
>>
>> Any help much appreciated!
>
> I can't see any errors, but you could try removing whitespace where
> I've marked it with "^".

My filter file has those spaces and no problems here.  In fact
the example filter file that comes with source has them.  Not
sure if they're /required/, but don't think they do any harm.

> It's also possible that an earlier "select" action is being applied.
>
> Btw, I suggest using "s-?lang", not "slang", in one of your patterns.
> Also, "slrnpull" is redundant, since "slrn" will match it.

Agreed.

-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
                                                             |___  | |/   |/  |
                                                              ___| | |    |   |
                                                                         
Technical Details
Message-ID: <20080707104903.577@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.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.albasani.net!news.motzarella.org!motzarella.org!not-for-mail
References: <iac7k5xgh1.ln2@amma.net> <slrng72klr.6q2.pjr@pjr.motzarella.org>

Show Full Headers
Complete Article Headers
Message-ID: <20080707104903.577@usenet.piggo.com>
Subject: Re: [Leafnode] Why is my filter not working?
Date: Mon, 07 Jul 2008 10:59:50 +1000
From: Troy Piggins <usenet-0807@piggo.com>
References: <iac7k5xgh1.ln2@amma.net> <slrng72klr.6q2.pjr@pjr.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.albasani.net!news.motzarella.org!motzarella.org!not-for-mail
Newsgroups: news.software.readers
Organization: A noiseless patient Spider
Lines: 62
Reply-To: usenet-0807@piggo.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: feeder.motzarella.org
 U2FsdGVkX18ZirzO2ZYq7/Fm8N3Gx3M0Jsq2tXYiHl15g6Kr0LYAC7As+/tRC+1MmD735V14/W4kyJFTJMzoMoQphmyE5/PYdqkezF3zKJmPVnWQAdATYcR3GgZRkSSpcdHr4dA6Cpw=
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
 headers
NNTP-Posting-Date: Mon, 7 Jul 2008 01:00:01 +0000 (UTC)
X-Auth-Sender: U2FsdGVkX1+WKEN46b1J63YF6GTQ1m6y75DgPRDEwCpn49IYdLb4yA==
X-NNTP-Proxy: Leafnode-2
 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/)
Cancel-Lock: sha1:sENjSIuCZz7zHG3sl4Nm3LVTQ1Y=
User-Agent: slrn/pre0.9.9-112/mm/ao/mc/rt (Linux)