Article View: news.software.readers
Article #218770Re: [Leafnode] Filters
From: Troy Piggins
Date: Mon, 07 Apr 2008 06:29
Date: Mon, 07 Apr 2008 06:29
40 lines
2774 bytes
2774 bytes
* Tom Newton wrote:
> On 2008-04-07, in <20080407160414.618@usenet.piggo.com> Troy
> Piggins <usenet-0804@piggo.com> wrote:
>
>> * Tom Newton wrote:
>>
>>> There someone whose posts I always want to see, but idiot
>>> troll keeps forging posts from them.
>>>
>>> Will this filter kill any posts with their From: header that
>>> lacks their IP?
>>
>><snip />
>>
>>> newsgroups = .*
>>>
>>> pattern = ^From: John Smith <js@nowhere\.net> action = 5
>>>
>>> pattern = ^NNTP-Posting-Host: !555\.444\.333 action = -10
>>
>> Suspect that should be:
>>
>> pattern = !^NNTP-Posting-Host: 555\.444\.333
>>
>> Everything after the "pattern = " is the pattern you are trying
>> to match.
>
> Thanks, Troy. Am I to gather that otherwise you think it will work?
See my more recent F/U. It will give false positives.
> Or are you just focussing on that PCRE?
I was at first.
--
Troy Piggins | http://piggo.com/~troy/slrn ___ | __ __
|___ | |/ |/ |
___| | | | |
Technical Details
Message-ID:
<20080407162854.316@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!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!news.motzarella.org!motzarella.org!not-for-mailReferences:
<slrnfvjdh8.7j5.tom@treeoflife.3v8l2x.net> <20080407160414.618@usenet.piggo.com> <slrnfvjfbb.j1v.tom@treeoflife.3v8l2x.net>Show Full Headers
Complete Article Headers
Message-ID: <20080407162854.316@usenet.piggo.com> Subject: Re: [Leafnode] Filters Date: Mon, 07 Apr 2008 16:29:33 +1000 From: Troy Piggins <usenet-0804@piggo.com> References: <slrnfvjdh8.7j5.tom@treeoflife.3v8l2x.net> <20080407160414.618@usenet.piggo.com> <slrnfvjfbb.j1v.tom@treeoflife.3v8l2x.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!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!news.motzarella.org!motzarella.org!not-for-mail Newsgroups: news.software.readers Organization: A noiseless patient Spider Lines: 40 Reply-To: usenet-0804@piggo.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: feeder.motzarella.org U2FsdGVkX1/dDBB6UxElwuF/kLki4dewWrrMXax3ldpif0EGhUwnBWJUZujgakYsI2ozalcLMGYVn+ixiR/nJUMBAJS33w1U2J2e09Q4aUKdoaZuhs2t3j4dLz2nAIaSCC3u0UD4F+AlcdpmwBT9+g== X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Mon, 7 Apr 2008 06:30:02 +0000 (UTC) X-Auth-Sender: U2FsdGVkX19heVIRIqf+pmP83pGIltZmGhqpjWrPiIWRI7HMMYcEfQ== X-NNTP-Proxy: Leafnode-2 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/) Cancel-Lock: sha1:zjyhw1LGVPBVv+VPuNKLLAcs/V8= User-Agent: slrn/pre0.9.9-99/rt (Linux)