🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #218768

Re: [Leafnode] Filters

#218768
From: Tom Newton
Date: Mon, 07 Apr 2008 06:21
37 lines
1751 bytes
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?

Or are you just focussing on that PCRE?

Tom


-- 
The Truth will set you free:
http://www.sethcenter.com
Technical Details
Message-ID: <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!t-online.de!news.albasani.net!news.newsland.it!aioe.org!not-for-mail
References: <slrnfvjdh8.7j5.tom@treeoflife.3v8l2x.net> <20080407160414.618@usenet.piggo.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfvjfbb.j1v.tom@treeoflife.3v8l2x.net>
Subject: Re: [Leafnode] Filters
Date: Mon, 07 Apr 2008 06:21:57 +0000
From: Tom Newton <tom@server.invalid>
References: <slrnfvjdh8.7j5.tom@treeoflife.3v8l2x.net> <20080407160414.618@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.newsland.it!aioe.org!not-for-mail
Newsgroups: news.software.readers
Organization: Aioe.org NNTP Server
Lines: 37
Reply-To: tom@server.invalid
NNTP-Posting-Host: rZuTe0d7K+08sfgRl4wYDg.user.aioe.org
X-Complaints-To: abuse@aioe.org
User-Agent: slrn/0.9.8.1 (Linux)