🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #196122

[Xnews] A little score.ini help please

#196122
From: John Wunderlich
Date: Fri, 02 Mar 2007 20:50
42 lines
2296 bytes
OK.  I give up.
I know there's a lot of Xnews scorefile experts here and I've just 
run into a scoring problem that I can't solve.  I'm trying to score 
on the "From:" header.  The problem I'm running into here can be 
illustrated with SINNER's posts in this newsgroup.

Suppose I want to give Sinner a 5000 score on his posts.  From the 
header information, I see that his "From" header contains: 
"SINNER <99nesorjd@gates_of_hell.invalid>".  I create a score.ini 
file that contains only the following lines:
----- cut here
[.]
Score: 5000
From: SINNER <99nesorjd@gates_of_hell\.invalid>
----- cut here

The above scorefile will not find SINNER.  I've made a table of some 
"From" lines in the above file that will score sinner and some that 
won't.  Can anyone explain why the lines in the "doesn't work" 
section don't work?  It appears that no single expression is allowed 
to span the "<" character in sinner's From header.  There are cases 
where I'd like to do that.

These From lines Work:

From: ^sinner
From: 99
From: gates_of_hell
From: 99nesorjd@gates_of_hell\.invalid
From: 99.*invalid

These From lines don't work:

From: <99
From: \<99
From: SINNER.*hell
From: sinner.*@
From: SINNER <99nesorjd@gates_of_hell\.invalid>

It's got to be something simple...
TIA,
  John
Technical Details
Message-ID: <Xns98E78296F2DABwunderpsdrscraytheon@138.126.254.210>
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!postnews.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bos-service1.raytheon.com!dfw-service2.ext.ray.com.POSTED!53ab2750!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <Xns98E78296F2DABwunderpsdrscraytheon@138.126.254.210>
Subject: [Xnews] A little score.ini help please
Date: Fri, 02 Mar 2007 20:50:15 GMT
From: John Wunderlich <jwunderlich@lycos.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!postnews.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bos-service1.raytheon.com!dfw-service2.ext.ray.com.POSTED!53ab2750!not-for-mail
Newsgroups: news.software.readers
User-Agent: Xnews/2006.08.24
Lines: 42
NNTP-Posting-Host: 147.19.113.145
X-Complaints-To: news@ext.ray.com
X-Trace: dfw-service2.ext.ray.com 1172868615 147.19.113.145 (Fri,
NNTP-Posting-Date: Fri, 02 Mar 2007 20:50:15 UTC
Organization: Raytheon Company