🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #195513

Re: [xnews] Filters

#195513
From: Mike Dee
Date: Tue, 13 Feb 2007 03:54
68 lines
4185 bytes
Dialup <dialupconnection@hotmailDOTcom> wrote in
news:45d119de$0$97247$892e7fe2@authen.yellow.readfreenews.net:
> 
> Mike Dee wrote:
>  
>>> Dialup wrote on 12 Feb 2007:
>>> 
>>>> Is there a way to filter using the information in the headers? 
>>>> Specifically the X-Newsreader or User-Agent AND another header
>>>> like Organization?

[...]
 
>> So, if you tried scoring on certain headers in Xnews and the
>> results you got show that you can't score on those headers, it is
>> *not* Xnews that is the culpret here. It is *your* news server. 
> 
> Could you give me an example of what I seek using my headers?  I
> use readfreenews but I have tried it on sharedsecrets as well as
> datemas and motzarella.  None seem to work.

I'll give you some basic scores based on your headers and for this NG, they should be entered 
into "score.ini", that is; "Special" menu, "Edit Score File". If you want to try them in all 
NGs, use [*] instead of the group name before any script you run.

[^news\.software\.readers$]

Score: =5000
   Message-ID: 892e7fe2@authen

Score: =4000
   References: 892e7fe2@authen

Score: =3000
   Organization: Read Free News

Score: =2000
   User-Agent: Xnews

Using the above (and assuming RFN allows scoring on all headers), you will more see 2000 scores 
than any other if used in this NG. You'll get less 3000 scores and fewer still 4000 scores, and 
the only 5000 posts you should see will be your own.

If you want to use OR conditions then you can group them into a single score using a double 
colon after Score, for example:

Score:: 6000
   Message-ID: 892e7fe2@authen
   References: 892e7fe2@authen
   Organization: Read Free News

Scoring on this group and "User-Agent: Xnews" would be a pointless exercise in an OR condition 
as it would probably make any other condition in the argument almost null and void and prove 
little except for how common a newsclient it is for this NG. BTW, if I had placed an '=' before 
the 6000, the score would stop at the first hit it made and not process that score any further.

Imagine you instead wanted to kill off all posts made by everyone who uses Xnews *except* for 2 
or more people you don't mind reading and they happen to use Xnews. Following is an example of 
using a NOT condition '~' with pipes '|':

Score: -9999
   User-Agent: Xnews
   ~From: Sleepy|Sneezy|Dopey|Doc|Happy|Bashful|Grumpy

In reality, the User-Agent in question is likely to be G2 :-)

-- 
dee
Technical Details
Message-ID: <Xns98D697ABED3BCemteedee@85.214.50.93>
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!news.germany.com!news.motzarella.org!not-for-mail
References: <45cfdee5$0$97235$892e7fe2@authen.yellow.readfreenews.net> <Xns98D5ED0F3A84Bdrizzeniinetnetau@203.16.214.243> <Xns98D6710B1B17Eemteedee@85.214.50.93> <45d119de$0$97247$892e7fe2@authen.yellow.readfreenews.net>

Show Full Headers
Complete Article Headers
Message-ID: <Xns98D697ABED3BCemteedee@85.214.50.93>
Subject: Re: [xnews] Filters
Date: Tue, 13 Feb 2007 03:54:17 +0000
From: Mike Dee <emteedee@invalid.invalid>
References: <45cfdee5$0$97235$892e7fe2@authen.yellow.readfreenews.net> <Xns98D5ED0F3A84Bdrizzeniinetnetau@203.16.214.243> <Xns98D6710B1B17Eemteedee@85.214.50.93> <45d119de$0$97247$892e7fe2@authen.yellow.readfreenews.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!news.germany.com!news.motzarella.org!not-for-mail
Newsgroups: news.software.readers
Organization: Poor Boy
Lines: 68
Mime-Version: 1.0
X-Trace: tomate.motzarella.org
 U2FsdGVkX1/atLtDCBPzCsYXRIaI+3mdUGP3YDhEGRtv4vfyvYxspqZEMrNYiK9dmv3AxIDjZFqQ3jIDcX+pRa+h2A8xjDd0pikcxhvIBzWdLalMar+qfEaxCT+E2CpWAcM/Pebh5EMpuxssLui91+ODvhYEq3XIpf48KIoxVGfN75GLHql1sIp1NfsIEGHzjtkT1OTQaiZ+5+NY55s+7PLuynjjMeCc4r0rfV1AZjgsyCf0vPqPcA==
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
 headers
NNTP-Posting-Date: Tue, 13 Feb 2007 03:54:17 +0000 (UTC)
X-location: Global Village, Earth.
X-it: See ya!
X-Auth-Sender: U2FsdGVkX19ypcbl36RVQ/KnutQXNLn6
X-Face: $W<X:Uw4$"nTXRHqqZ=.|pFI@K,TNNH0i>-J; N5/yst7]cQb.o^L$oAhs-J!C
 AOUMQ^NHu3aTb9H8awW~4Y.LR`[o}Rz6Xf=^krb-AwUiM"7zA+QR<vWz'8>hKiTOyd]h
 z]7m=[nhuH{NMrE>~][PM`wSKd?TFV-.glh)>N
User-Agent: Xnews/2006.08.24
X-salutation: Gudday.