🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #224977

Re: [Xnews] filtering

#224977
From: Dialup
Date: Fri, 22 Aug 2008 01:37
54 lines
2321 bytes
Guy wrote:

> Mike Yetto wrote:
> 
>> 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
>>
> 
> 
>  [.]
>       Score: -1000
>       Subject: yEnc
>       Subject: \.rar|\.zip
> 
> You don't want to miss out on a...
> 
> Rare_Yellow-Crowned_Night-Heron_Photo.jpg" yEnc (1/1)

Thanks Guy.
Technical Details
Message-ID: <48ae184c$0$13872$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!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!post01.iad01!news.shared-secrets.com!not-for-mail
References: <48adedbd$0$13895$8f2e0ebb@news.shared-secrets.com> <slrn20080821194436.987.twooffive@may.motzarella.org> <9B01C7996E84FEAC2E284CEEC009E394A9D7@127.0.0.1>

Show Full Headers
Complete Article Headers
Message-ID: <48ae184c$0$13872$8f2e0ebb@news.shared-secrets.com>
Subject: Re: [Xnews] filtering
Date: Fri, 22 Aug 2008 01:37:17 +0000
From: Dialup <dialupconnection@hotmailDOTcom>
References: <48adedbd$0$13895$8f2e0ebb@news.shared-secrets.com> <slrn20080821194436.987.twooffive@may.motzarella.org> <9B01C7996E84FEAC2E284CEEC009E394A9D7@127.0.0.1>
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!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!post01.iad01!news.shared-secrets.com!not-for-mail
Newsgroups: news.software.readers
User-Agent: Xnews/2006.08.24
X-No-Archive: yes
Lines: 54
Organization: Unknown
X-Complaints-To: abuse@shared-secrets.com