🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #224973

Re: [Xnews] filtering

#224973
From: Mike Yetto
Date: Thu, 21 Aug 2008 23:53
46 lines
2918 bytes
Bada bing Dialup <dialupconnection@hotmailDOTcom> bada bang:
> I am trying to make my score file delete headers with both "rar" and 
> yenc" in the subject.  Possibly having "zip" included would be a good 
> thing as well. There seem to be people that want to flood certain 
> groups with files.
>
> Below is an example header:
> Wondershare YouTube Downloader v1.3.1.16.rar" yEnc (18/18)
>
> I have tried this to flag the messages:
>
> [.]
> 	Score:: -1000
> 	Subject: yEnc|rar
>
> This seems to flag the message with EITHER word.  Can someone help with 
> the syntax to filter on BOTH with the possible addition of "zip"?
>
>

Your filter is working just as you requested.  The double colon
(::) means socre on any of the following conditions.  A single
(:) means score on all the conditions.  

Since you only have one condition there is no difference to be
found there.

However, the vertical bar (|) is also aqn 'or' condition looking
for either string.

Try the following.

[.]
	Score: -1000
	Subject: yEnc
	Subject: rar

With this both strings must be present in the subject.

It's time to RTFM and the scoring.txt file.  Study up on regular
expressions and go for it.

Mike "should only take 4 or 5 years" Yetto
-- 
Pluralitas non est ponenda sine necessitas.
 - William of Ockham
Technical Details
Message-ID: <slrn20080821194436.987.twooffive@may.motzarella.org>
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!news.k-dsl.de!news.motzarella.org!motzarella.org!not-for-mail
References: <48adedbd$0$13895$8f2e0ebb@news.shared-secrets.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn20080821194436.987.twooffive@may.motzarella.org>
Subject: Re: [Xnews] filtering
Date: Thu, 21 Aug 2008 19:53:10 -0400
From: Mike Yetto <myetto1@nycap.invalid>
References: <48adedbd$0$13895$8f2e0ebb@news.shared-secrets.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!newsfeed00.sul.t-online.de!t-online.de!news.k-dsl.de!news.motzarella.org!motzarella.org!not-for-mail
Newsgroups: news.software.readers
Organization: Just sort of piled on the desk
Lines: 46
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: feeder.motzarella.org
 U2FsdGVkX18x3A8+kDU134XFdNyx8NEZv5Nl0H25z7JJXswOBww9gRR7UgpStsbDakHAwv8DtEXzFRby9XB9WbzLyYPQtkYfxpbZ63H8i5ioTM+pVi0/4+lvfe2cPazS2QKNw8yA909d77qrf+LKqw==
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
 headers
NNTP-Posting-Date: Fri, 22 Aug 2008 00:00:04 +0000 (UTC)
X-Auth-Sender: U2FsdGVkX1/YnNERispmyPViPqSJQjWb5VFImy74EpEF1pcfv1Xrcg==
X-No-Bananas: Yes
X-Face: }3JWz.qUmO(s6)fi^Y)1eP$!$:`/OCi6lO:7>\e0SB{-VT^+J5DWXfTybc>y~aVli{wXD
 m/.j\Al('YgA3HNrxK-oL@; 2*[QCBW/p"j'~oe7H~MG'=-W<y-rh8h2TY3\Iq*U\4Z97!Y6f)pxHQ
 H,
Cancel-Lock: sha1:7oCjqA5gdMyhW7wfTZBkoi1zuzY=
User-Agent: slrn/pre0.9.9p1-2 (Linux)
X-The-Usenet-Improvement-Project: http://improve-usenet.org/