Article View: news.software.readers
Article #224978Re: [Xnews] filtering
From: Dialup
Date: Fri, 22 Aug 2008 01:36
Date: Fri, 22 Aug 2008 01:36
47 lines
2272 bytes
2272 bytes
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 > > 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. Believe it or not, I had RTFM. I guess I missed the part about the double colon. Thanks for your help.
Technical Details
Message-ID:
<48ae1823$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-mailReferences:
<48adedbd$0$13895$8f2e0ebb@news.shared-secrets.com> <slrn20080821194436.987.twooffive@may.motzarella.org>Show Full Headers
Complete Article Headers
Message-ID: <48ae1823$0$13872$8f2e0ebb@news.shared-secrets.com> Subject: Re: [Xnews] filtering Date: Fri, 22 Aug 2008 01:36:35 +0000 From: Dialup <dialupconnection@hotmailDOTcom> References: <48adedbd$0$13895$8f2e0ebb@news.shared-secrets.com> <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!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: 47 Organization: Unknown X-Complaints-To: abuse@shared-secrets.com