🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #218769

Re: [Leafnode] Filters

#218769
From: Troy Piggins
Date: Mon, 07 Apr 2008 06:26
36 lines
2726 bytes
* 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.

-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
                                                             |___  | |/   |/  |
                                                              ___| | |    |   |
                                                                         
Technical Details
Message-ID: <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!feeder.news-service.com!news.motzarella.org!motzarella.org!not-for-mail
References: <slrnfvjdh8.7j5.tom@treeoflife.3v8l2x.net> <20080407160414.618@usenet.piggo.com>

Show Full Headers
Complete Article Headers
Message-ID: <20080407162105.677@usenet.piggo.com>
Subject: Re: [Leafnode] Filters
Date: Mon, 07 Apr 2008 16:26:04 +1000
From: Troy Piggins <usenet-0804@piggo.com>
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!feeder.news-service.com!news.motzarella.org!motzarella.org!not-for-mail
Newsgroups: news.software.readers
Organization: A noiseless patient Spider
Lines: 36
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/akV5bAdoDGI+pmh7LLrPbKasGIeaE5jHuUnZ9mus3usSyB3oJpPTcJEwTWEtqiJUt2txMbLYuE2qAF0Go7RDWs/EymgDaSA9eWFGFeLpiemInSBUVY3uRlDrjC12Ax9XBFwscr25JLQ==
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
 headers
NNTP-Posting-Date: Mon, 7 Apr 2008 06:26:14 +0000 (UTC)
X-Auth-Sender: U2FsdGVkX1+Clrvz+JvoGWWr3OpZCDgI+V205wS1ewb0tFlPigKT0A==
X-NNTP-Proxy: Leafnode-2
 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/)
Cancel-Lock: sha1:I3rzWtyuHQnlUi0Czy0dGEcigOE=
User-Agent: slrn/pre0.9.9-99/rt (Linux)