Article View: news.software.readers
Article #137309Re: [Xnews] SHAMP, Score entries updated...
From: dkg_ctc
Date: Tue, 11 Nov 2003 23:18
Date: Tue, 11 Nov 2003 23:18
59 lines
3096 bytes
3096 bytes
Tech Zero <spamnet-nov@dragonfur.ca> wrote in news:Xns943097D5BD6B8ZeroOne@news.individual.net: > The voice of "dkg_ctc" drifted in on the cyber-winds, > from the sea of virtual chaos... > >> I'm curious about the following: >> >> Score: -9000 >> Lines: -1000 >> ~Subject: >> \.(avi|[jm]pe?g|m2[vp]|nfo|ogm|[pr](ar|\d\d)|sfv|txt|wmv|zip)\b >> >> "Lines: -1000"? How does that work? > > > All post with lines *Less Then* 1000... > This filter traps all posts that don't have certain extensions. > > Less then is -1000, greater then is 1000, and "Lines:: 1000" > doesn't work. Oh, I see...I was under the impression that the only way you could do 'less than or equal to' is ~Lines: 1000 > I've also used negative assertions with lines, but the results are > a little unpredictable. I just tested several variations until I > got the results I was after. > > Having the Lines entry first is the key though. > It doesn't work correctly when used as the second entry, as in: > > Score: -9000 > ~Subject: \.(avi|[jm]pe?g|nfo|ogm|[pr](ar|\d\d)|sfv)\b > Lines: -1000 > or > > Score: -9000 > Subject: \.(avi|[jm]pe?g|nfo|ogm|[pr](ar|\d\d)|sfv)\b > ~Lines: 1000 > > The first looks like it should work, but for some reason it > doesn't, and the second is not inclusive. The second it only tests > post with those extensions, not the all the posts. Now the first one--at least as how I'm reading it--should -9000 every post which doesn't have avi, jpeg, mpeg, etc in the subject AND which is less than 1000 lines. The second looks like it would -9000 every post that has .avi, .jpeg, .mpeg, etc in the subject AND which is less than 1000 lines. So does it not exhibit the behavior that I'm describing? My testing here looks to be right > This wasn't what I was looking for in a binary group spam filter. Are you sure that you didn't mean to do the double colons to signify an OR operand, and not an AND operand?
Technical Details
Message-ID:
<Xns9430B001FEA43dkgctc@130.133.1.4>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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.freenet.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!host-39-156-220-24.midco.NET!not-for-mailReferences:
<Xns94301CDF27F15ZeroOne@news.individual.net> <Xns94308E3981210dkgctc@130.133.1.4> <Xns943097D5BD6B8ZeroOne@news.individual.net>Show Full Headers
Complete Article Headers
Message-ID: <Xns9430B001FEA43dkgctc@130.133.1.4> Subject: Re: [Xnews] SHAMP, Score entries updated... Date: Tue, 11 Nov 2003 23:18:00 +0000 From: "dkg_ctc" <dontknowguilt@hotmail.com> References: <Xns94301CDF27F15ZeroOne@news.individual.net> <Xns94308E3981210dkgctc@130.133.1.4> <Xns943097D5BD6B8ZeroOne@news.individual.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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.freenet.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!host-39-156-220-24.midco.NET!not-for-mail Newsgroups: news.software.readers Lines: 59 NNTP-Posting-Host: host-39-156-220-24.midco.net (24.220.156.39) X-Trace: news.uni-berlin.de 1068592680 49048605 24.220.156.39 (16 [190313]) User-Agent: Xnews/06.08.25