🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #195507

Re: [xnews] Filters

#195507
From: Mike Yetto
Date: Tue, 13 Feb 2007 03:27
35 lines
2420 bytes
There I was, minding my own business, when
Dialup wrote...

> I tried something like that but it didn't seem to work.
> 
> This is what I was thinking would work:
> 
>     Score: 1000
>      User-Agent: Xnews/2006.08.24
>      Organization: Read Free News
> 
> Would this require BOTH headers to be there or EITHER header? 
> Would it work at all?
> 

This would require both tests to be positive since you have a single 
colon (save it for later, Sinner) while having two colons will make 
it an 'or' condition.

A cheaper way to check for Xnews is...

   Score:: 1000
    	Message-ID: ^\<Xns

Although this won't be for a specific Xnews version.

You should also be careful to strip any trailing spaces from the 
conditions as they are significant.

    	Mike "okay, start the puns... with both barrels" Yetto
-- 
"There is danger from all men. The only maxim of a free
government ought to be to trust no man living with power to
endanger the public liberty."
    - John Adams 
Technical Details
Message-ID: <Xns98D5E47EB255Auniquelyme@26-96-177-194.serverdedicati.seflow.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!newsfeed.freenet.de!news.newsland.it!aioe.org!not-for-mail
References: <45cfdee5$0$97235$892e7fe2@authen.yellow.readfreenews.net> <Xns98D5ED8501E7Ddrizzeniinetnetau@203.16.214.243> <Xns98D5757B65C10louiscypherhellorg@140.99.99.130> <45d11a8b$0$97247$892e7fe2@authen.yellow.readfreenews.net> <j6j7a4x3vh.ln2@news.gates-of-hell.com> <45d12872$0$97256$892e7fe2@authen.yellow.readfreenews.net>

Show Full Headers
Complete Article Headers
Message-ID: <Xns98D5E47EB255Auniquelyme@26-96-177-194.serverdedicati.seflow.net>
Subject: Re: [xnews] Filters
Date: Mon, 12 Feb 2007 22:27:43 -0500
From: Mike Yetto <mike.yetto@nycap.invalid>
References: <45cfdee5$0$97235$892e7fe2@authen.yellow.readfreenews.net> <Xns98D5ED8501E7Ddrizzeniinetnetau@203.16.214.243> <Xns98D5757B65C10louiscypherhellorg@140.99.99.130> <45d11a8b$0$97247$892e7fe2@authen.yellow.readfreenews.net> <j6j7a4x3vh.ln2@news.gates-of-hell.com> <45d12872$0$97256$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!newsfeed.freenet.de!news.newsland.it!aioe.org!not-for-mail
Newsgroups: news.software.readers
Organization: None at all
Lines: 35
NNTP-Posting-Host: TYmfluFq/jQO5TFipGua4A.user.aioe.org
X-Complaints-To: abuse@aioe.org
X-No-Bananas: Yes
X-Face: |r>RlUD1uaj^+}lH:1x}DRPEVBE10?q; 6kK-z/g54Sm5un@|e'd;
 MBx>,mw4U_J{:@+2{^77p/rY\g%7gE$V,}ZT?e>5tttHXeodYk\'q1Jv5R1Y@297IYtjygnnPfR4'8>3c:<<bJtx#[<5rd-UP_F?\?j>[5:.5ViK#8o+?^D{hi=c0]5Z=6d,|`tq_:(C1(1`@FbN)Cj(]D*}z[o"<~cu!|Is\2(e#[-Fjeg_M7PS/@LG
User-Agent: Xnews/2006.08.24