🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #65110

Re: [Xnews] Feature Request - Expanded Scoring

#65110
From: Murray Peterson
Date: Thu, 31 Aug 2000 17:22
42 lines
2215 bytes
latka@cotse.com (Latka) wrote:

>Possibly expanding the headers that can be acted upon by the score
>file. I'd like to score (and even kill) messages based upon
>matches in the Path header, or even some X-headers.
>
>Not a big deal, just always looking for RegEx solutions to slay
>spammers. 

I'll give the standard answer to this standard question (maybe Luu 
should put this one in the manual).

XNews, like most other newsreaders, uses the XOVER command for 
downloading the headers.  The headers that you can score on are those 
headers that your server gives to your newsreader from this XOVER 
command.  To find out what you server provides, you can do the 
following:

telnet to your news server (port 119)
list overview.fmt

My server returns the following:
list overview.fmt
215 Order of fields in overview database.
Subject:
From:
Date:
Message-ID:
References:
Bytes:
Lines:
Xref:full

Notice that the headers you asked for are not in that list, so XNews 
can't score on them without loading the headers via some much slower 
mechanisms (head or xhdr commands).

-- 
Murray Peterson
Email: murray_peterson@home.com (remove underscore)
URL:   http://www.members.home.net/murraypeterson
Technical Details
Message-ID: <8FA177029farkle@24.64.2.57>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!nntp.primenet.com!nntp.gblx.net!feeder.via.net!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.ab.home.com.POSTED!not-for-mail
References: <8FA12673Bsh6ty87s12x@63.211.125.91>

Show Full Headers
Complete Article Headers
Message-ID: <8FA177029farkle@24.64.2.57>
Subject: Re: [Xnews] Feature Request - Expanded Scoring
Date: Thu, 31 Aug 2000 17:22:29 GMT
From: mwp@home.com.invalid (Murray Peterson)
References: <8FA12673Bsh6ty87s12x@63.211.125.91>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!nntp.primenet.com!nntp.gblx.net!feeder.via.net!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.ab.home.com.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: Xnews/03.08.16
Lines: 41
NNTP-Posting-Host: 24.64.52.234
X-Complaints-To: abuse@home.net
X-Trace: news1.rdc1.ab.home.com 967742549 24.64.52.234 (Thu, 31 Aug 2000 10:22:29 PDT)
NNTP-Posting-Date: Thu, 31 Aug 2000 10:22:29 PDT
Organization: Excite@Home - The Leader in Broadband