🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #261733

Re: [slrn] Scoring on References

#261733
From: Whiskers
Date: Mon, 09 Jan 2017 18:31
84 lines
3917 bytes
On 2017-01-09, Steve Crook <steve@mixmin.net> wrote:
> Hi all,
>
> I've been trying to create a simple slrn rule to score against a series
> of messages, all referencing the same parent.  An example message is:
> Message-ID: <514d9311c7ae239ec6e6d7cd2207bc31@remailer.org.uk>
>
> This message (and many others) share the same Reference:
> References: <8e915bf950565b085a875f550e05bd77@dizum.com>
>
> If I try to score on the entire References header, it doesn't match:
> Score: -1000
>     References: <8e915bf950565b085a875f550e05bd77@dizum.com>
>     
> After some tweaking, I do get a match if I use:
> Score: -1000
>     References: 0e05bd77@dizum\.com>
>
> Prefix one more character to the Reference and the match fails.  I'd be
> interested to know if others see the same behaviour or have any theories
> to explain it.
>
> Cheers,
> Steve
>
> slrn 1.0.3
> S-Lang Library Version: 2.3.0
> Operating System: Linux
>
> COMPILE TIME OPTIONS:
>  Backends: +nntp -slrnpull -spool
>  External programs / libs: -canlock -inews -ssl -uudeview +iconv
>  Features: +decoding +emphasized_text +end_of_thread +fake_refs +gen_msgid
>     -grouplens -msgid_cache +piping +rnlock +spoilers -strict_from
>  Using 64 bit integers for article numbers.
>
> DEFAULTS:
>  Default server object:     nntp
>  Default posting mechanism: nntp

These entries have been part of my score file for years, and still seem
to work as intended:

#v+
Score:: 1000     %fup to mine 
        References: ID-107770\.user\.individual\.net>$
        References: ID-107770\.user\.individual\.net>[^>]+>$
        References: ID-107770\.user\.individual\.net>[^>]+>[^>]+>$
        References: ID-107770\.user\.individual\.net>[^>]+>[^>]+>[^>]+>$
        References: ID-107770\.user\.individual\.net>[^>]+>[^>]+>[^>]+>[^>]+>$
					        
Score: 4000     %direct	fup to mine
       References: ID-107770\.user\.individual\.net>$
#v-

The k command in slrn has always in my experience constructed a score
with all the 'escaped' characters properly identified in References
headers, eg 

#v+
%BOS
%Score created by slrn on Mon Jan  9 18:14:48 2017

[news.software.readers]
Score: =-9999
%Expires: 
%       Subject: \[slrn\] Scoring on References
%       From: Steve Crook <steve@mixmin\.net>
        References: <slrno76p4q\.c37\.steve@fleegle\.mixmin\.net>
	%       Xref: uni-berlin\.de news\.software\.readers:288002
	%       Newsgroup: news\.software\.readers
%EOS
#v-

So my best guess, for what it's worth, is that some part of the MID
you've encountered is being interpreted as a character that needs to be
escaped.  But if that could happen, it would surely have been
encountered and corrected long ago unless something in slrn's latest
changes has introduced a new bug.

-- 
-- ^^^^^^^^^^
--  Whiskers
-- ~~~~~~~~~~
Technical Details
Message-ID: <slrno77loo.3c4.catwheezel@ID-107770.user.individual.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.(126883).mbox.7z!not-for-mail
References: <slrno76p4q.c37.steve@fleegle.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrno77loo.3c4.catwheezel@ID-107770.user.individual.net>
Subject: Re: [slrn] Scoring on References
Date: Mon, 9 Jan 2017 18:31:52 +0000
From: Whiskers <catwheezel@operamail.com>
References: <slrno76p4q.c37.steve@fleegle.mixmin.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.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: is an alien concept
Lines: 84
X-Trace: individual.net 35FUQbgSoWSgSmTus/E4cw5dWykLQBw91R3Aw/6T18Ia5gk+k1
Cancel-Lock: sha1:EnXBSXj0qwF1+GYupoDGEusmhoM=
X-Face: (8UIp\C%,7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_
 "Pmt)1xC~QW%bU/xrlDuux";aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00
 xYer];5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@
 p&  g^8<z5>HA
User-Agent: slrn/1.0.3 (Linux)
X-Received-Bytes: 3729
X-Received-Body-CRC: 4169767127