🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #203917

Re: [Xnews] Score file questions... again.

#203917
From: Mike Dee
Date: Fri, 17 Aug 2007 09:56
144 lines
6455 bytes
"-Lost" <maventheextrawords@techie.com> wrote:

> Mike Dee's response:
> 
>> "-Lost" <maventheextrawords@techie.com> wrote:
><snipped me going ape shite>

<G>
 
>> I should've put a smiley in there with that post, I now know.
> 
> I almost knew there had to be something to it, but it appeared as
> if you were cross.

That was me being "facetious". No, I don't like it either, so thanks
for pulling me up. 
 
> My apologies for the vent.

Vent? What vent? ;-)

>> *Note* you cannot add subsequent conditional lines to this score 
>> without a leading "~". If you do, the score becomes an "AND"
>> condition and will fail or not work as expected to. For example:
>> 
>>   Score: =-5555
>>      Message-ID: 4ax\.com
>>      ~From: Fred|Martha|Julie
>>      Subject: Betty Crocker|WMD
>> 
>> Would not work as both the Message-ID and Subject headers make it
>> an AND condition, not a NOT condition.
>> 
>> That is: if you are blanket KF'ing Google Groups posts under [.]
>> 
>> Then if you wish to exempt certain NGs from this KF you will need
>> to use the "~" conditional score exactly in the manner of:
>> 
>>    [.]
>>  
>>      Score:  =-9999
>>          Message-ID: googlegroups
>>         ~Newsgroups: programming\.group1|programming\.group2|etc
> 
> Just to be sure I understand correctly.
> 
> 1.  I can only have two keywords for it to behave as an OR.
> 2.  And the 2nd one *had* to be the tilde prefixed one.
> 
> An example of #1.
> 
>          Score: =-9999
>                   Message-ID: googlegroups
>                   From: ihatethisguytoo@bollocks.co.uk
>                   ~Newsgroups: blah\.blah\.blah
> 
> That is *not* allowed, right?

The example you give creates an AND condition not an OR, but will
probably fail to work anyway. I will try to explain...

Firstly, wrong or right, I call your "keywords", "conditionals",
and no, your example is not allowed, and this is why:

1). Colons ":" are *fundamental* when creating score files.

2). A double-colon after Score - "Score::" creates the OR condition:

Score:: 200
   From: Me|You|him
   Subject: Xnews
   User-Agent: Xnews

%% this will trigger if *either* "From" OR "Subject" OR "User-Agent"
%% conditions are met, here.

3). A single-colon after Score - "Score:" creates an AND condition:

Score: 200
   From: Me|You|him
   Subject: Xnews
   User-Agent: Xnews

%% this will only trigger if *all* "From" AND "Subject" AND "User-Agent"
%% conditions are met, here.

4). A single-colon after Score - "Score: *plus* subsequent lines following
    the 1st conditional line, and beginning with a "~" creates a NOT
    condition.

Score: 200
 From: Me|You|him
 ~Subject: Xnews
 ~User-Agent: Xnews

%% this gives "Me, You and him" a score of 200 - as long as the "Subject"
%% OR "User-Agent" conditions do NOT contain the word "Xnews". Good thing
%% it's only an example ;-)

5). You cannot mix and match the above OR, AND, and NOT conditions
    and expect them to work correctly. Each must follow the strict
    pattern outlined for each, above.
 
>> Furthermore, if I was to use a score like this under [.] I would
>> also, and depending on the types of GG posts that go to these
>> programming groups, create another score specifically for that
>> group as well. 
>> 
>> Building on my initial example; that is:
>> 
>> [^my\.particular\.programming\.group$]
>> 
>>     Score: -50
>>         References: googlegroups
>> 
>>     Score: =-9999
>>         Message-ID: googlegroups
>>         ~From: Gerry|Fred|Onslow|Johannas|etc|etc|etc
>> 
>> The -50 score to pick up responses to GG posts made in the group
>> you are reading, which gives you a good indication as to what the
>> original GG OP was like and allows you to add them to your "~"
>> piped list. 
> 
> I like that idea.  Thanks for it!  This would help me identify the
> bright ones rather than allow them all.

I use it in some groups, ie; ones that have a mixed bag of good and
bad posts coming from GG. For this group I have *no* filters set for GG,
I really on my filters for spammers and other kinds of miscreants
that come from _any source at all_ instead...
 
> Again, I apologize since you apparently meant no ill-will.

No -- ill-will was the least of my intentions.
 
> I appreciate your patience.
> 
> Dare I say "noted and archived?"  :)

It would be neat if that was "noted, archived *and* acted upon" ;-)

-- 
dee
Technical Details
Message-ID: <Xns998FD5028A8Cemteedee@203.26.24.228>
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!newsfeed.freenet.de!solnet.ch!solnet.ch!nntp.gblx.net!nntp3.phx1!dnews.tpgi.com.au!tpg.com.au!not-for-mail
References: <Xns998EF3C3A3717lostthreads@216.196.97.136> <Xns998F9060EF62emteedee@203.26.24.228> <Xns998FE6ADC839lostthreads@216.196.97.136> <Xns998FA55D68620emteedee@203.26.24.228> <Xns998F288A94A0lostthreads@216.196.97.136>

Show Full Headers
Complete Article Headers
Message-ID: <Xns998FD5028A8Cemteedee@203.26.24.228>
Subject: Re: [Xnews] Score file questions... again.
Date: Fri, 17 Aug 2007 09:56:25 +0000
From: Mike Dee <mikedee@emteedee.invalid>
References: <Xns998EF3C3A3717lostthreads@216.196.97.136> <Xns998F9060EF62emteedee@203.26.24.228> <Xns998FE6ADC839lostthreads@216.196.97.136> <Xns998FA55D68620emteedee@203.26.24.228> <Xns998F288A94A0lostthreads@216.196.97.136>
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!newsfeed.freenet.de!solnet.ch!solnet.ch!nntp.gblx.net!nntp3.phx1!dnews.tpgi.com.au!tpg.com.au!not-for-mail
Newsgroups: news.software.readers
Organization: Poor Boy
User-Agent: Xnews/2006.08.24
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
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
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUAAAA1eFXgkmf71L/7
 7qX////6Pj40AAAACXBIWXMAAAsSAAALEgHS3X78AAAAB3RJTUUH1wMdBh4ZkpuYCAAAAPlJREFU
 eNqV0s2RwyAMBeAXQ+5xB4wq8AwNcHABuWz/rQRJ/AhssrtcPKPPegJjnIuF+vQrwC/QOidIK8AM
 6Qv4W0ADXADaeAO56RZijAeu4GIsMoHU47XDdfAWUlyAjHY6YwKXa+4KZYTsy0JyHFPFQjQdIxxo
 NESh1ccDJmeyzvsZX8D/CWBkAPkedV+LqBl6WPlYBdCOeFiAhdABBg4EvXiGLcj16QQivd8MiaHW
 N6JQARTaIXK9w8bdZQDxkiEKpP8uB00Q8JPXW+qahTPJS69nBk2SlgzS8DBJFrA/e5JkeSTe+WO3
 SdySgd/YGd4b9ZYBaIB/rw/aM8iUyl6QnQAAAABJRU5ErkJggg==
NNTP-Posting-Host: 60.240.97.180
X-Original-NNTP-Posting-Host: 60.240.97.180
X-Trace: dnews.tpgi.com.au!tpg.com.au 1187348185 60.240.97.180 (17 Aug 2007
Lines: 144