🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #218775

Re: [Leafnode] Filters

#218775
From: Tom Newton
Date: Mon, 07 Apr 2008 09:08
45 lines
2136 bytes
On 2008-04-07, in <20080407162105.677@usenet.piggo.com> Troy
Piggins <usenet-0804@piggo.com> wrote:

> * Troy Piggins 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.
>
> Should mention that the above will kill /everyone/ who doesn't have
> that IP, since poster Fred Jones will not match the first entry,
> but if his IP isn't 555.444.333 he will be awarded -10 score and
> hence be killfiled.
>
> Why don't you give negative score to John Smiths, and give
> positive score for his correct IP?  Less false positives.

Thanks again, Troy. That helps.


Tom



-- 
The Truth will set you free:
http://www.sethcenter.com
Technical Details
Message-ID: <slrnfvjp49.5u9.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.karotte.org!news2.arglkargh.de!news.mixmin.net!aioe.org!not-for-mail
References: <slrnfvjdh8.7j5.tom@treeoflife.3v8l2x.net> <20080407160414.618@usenet.piggo.com> <20080407162105.677@usenet.piggo.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfvjp49.5u9.tom@treeoflife.3v8l2x.net>
Subject: Re: [Leafnode] Filters
Date: Mon, 07 Apr 2008 09:08:33 +0000
From: Tom Newton <tom@server.invalid>
References: <slrnfvjdh8.7j5.tom@treeoflife.3v8l2x.net> <20080407160414.618@usenet.piggo.com> <20080407162105.677@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.karotte.org!news2.arglkargh.de!news.mixmin.net!aioe.org!not-for-mail
Newsgroups: news.software.readers
Organization: Aioe.org NNTP Server
Lines: 45
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)