Article View: news.software.readers
Article #195479Re: [xnews] Filters
From: NickC
Date: Mon, 12 Feb 2007 12:18
Date: Mon, 12 Feb 2007 12:18
36 lines
2148 bytes
2148 bytes
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? Every time I try to do this manually, I filter > far too many messages. I have tried to do it with the 'add to > scorefile' but it doesn't allow those headers. Could someone post > an example using my headers for instance? > It doesn't look like it. I manually added a filter to the score file, filtering on user-agent OR organization. It didn't affect the score. I viewed the dumped scorefile debug and it showed both headers as keytype=8. Since all the other keytypes in the file correlate with Subject, From, etc, I guess type 8 indicates something like 'unknown' or 'error'. The allowed headers are mentioned in scoring.txt in your xnews directory, and below seems to verify they are the only ones. Here's a list of keytypes, assuming there is a correlation between score file and score debug file: Field Keytype ===== ====== Subject 1 >From 2 Message-ID 3 Lines 4 References 5 Xref 6 If there is a type 0 or 7, someone let us know. -- Nick
Technical Details
Message-ID:
<Xns98D5ED0F3A84Bdrizzeniinetnetau@203.16.214.243>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!feeder.news-service.com!138.199.65.86.MISMATCH!sn-xt-ams-06!sn-xt-ams-08!sn-post-ams-02!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mailReferences:
<45cfdee5$0$97235$892e7fe2@authen.yellow.readfreenews.net>Show Full Headers
Complete Article Headers
Message-ID: <Xns98D5ED0F3A84Bdrizzeniinetnetau@203.16.214.243> Subject: Re: [xnews] Filters Date: Mon, 12 Feb 2007 12:18:15 -0000 From: NickC <spambucketREMOVE_THIS@internode.on.net> References: <45cfdee5$0$97235$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!t-online.de!feeder.news-service.com!138.199.65.86.MISMATCH!sn-xt-ams-06!sn-xt-ams-08!sn-post-ams-02!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Newsgroups: news.software.readers Organization: Posted via Supernews, http://www.supernews.com User-Agent: Xnews/2006.08.24 X-Complaints-To: abuse@supernews.com Lines: 36