Article View: news.software.readers
Article #204572Re: [Xnews] Can a Score be setup to filter out words in the message body?
From: Blinky the Shark
Date: Thu, 23 Aug 2007 02:16
Date: Thu, 23 Aug 2007 02:16
93 lines
4632 bytes
4632 bytes
Pseudo Silk Kimono wrote:
> On 2007-08-22, Blinky the Shark <no.spam@box.invalid> wrote:
>>
>> Xnews is the best there is for Windows, IMO. You won't go wrong with
>> it. Are you running it from a thumb drive as I do? I do that so I can
>> keep Xnews on my XP laptop synched (in terms of subscribed groups and
>> what has and has not been read in each of them) with slrn here on my
>> primary Linux box. But I have other news clients, too, because I am a
>> confessed Usenet junkie.
>>
> Yes, I do run it from a thumb drive. It's actually a USB card reader
> that I have a number of portable applications installed. I only use it
> when I don't have access to slrn, which is pretty much anywhere but in
> front of my FF server/laptop.
Gotcha.
> Would you mind terribly if I asked you a question about slrn Score
> files? Or is it better if I start a new thread?
The worst that could happen would be that I would eat your legs off.
> Some of my favorite groups have been "spronked" by spam lately and I
> would like to filter them out using a score. But the problem is that
> there are some good posts that have the same "symptoms".
>
> What I'd like to do is set up a Score that would read something like
> this (translate from ksh to slang)
>
> for message $( message in group)
> do
> if [[ subject !contains capital letters && subject !contain word in
> (list of words I care about) ]]
> let Score=-9999
> fi
> done
What form would that white list take? Are you trying to source a text
file?
If not (if your list is manageable within Score) sure.
*My scoring is very simple8, but something like this should work (with my
syntax corrected a bit <g>):
Score: =-9999
~Subject: \c(a-z)
~Subject: (goodword1|goodword2|...|goodwordLast)
The single colon after "Score" means boolean AND, so both lines would
have to return T for the filter to be appied.
\c enables case sensitivity.
---> I don't know how to do OR in s-lang regex because it apparently does
not use the pipe, so the whitelisted-word line is just a starting point.
Someone will fix it. :)
Else, you could complicate the rule by doing a grouped OR rule beneath
the lower-case rule so that you ended up with
(REALLY pseudo code <g>)
no lower case
and
no white-word1
or
no white-word2
or
no white-word3
...
Again, that's the logic; someone will help with the syntax, I hope. :)
> Here's another:
>
> What if I have a group say alt.foo.bar.group and I want
> to set score to -9999 for a known spammer, say someone with the name
> "Blinky" in the from tag but I want to set score to 1000 for any posts
> in the same group that have a subject with the word "shark" in them.
> I could code one score for each condition, but isn't the a way to
> combine them?
So you want one with both to be -8999 ?
--
Blinky RLU 297263
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Technical Details
Message-ID:
<slrnfcprhj.6nu.no.spam@thurston.blinkynet.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.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<Xns99925FA793D21misplacedChildhood88@85.214.62.108> <Xns9993753CE298Bemteedee@203.26.24.228> <Xns9994836781651misplacedChildhood88@85.214.62.108> <slrnfcpavn.6nu.no.spam@thurston.blinkynet.net> <faig07$b6u$1@registered.motzarella.org> <slrnfcpi64.6nu.no.spam@thurston.blinkynet.net> <faio2t$smk$1@registered.motzarella.org>Show Full Headers
Complete Article Headers
Message-ID: <slrnfcprhj.6nu.no.spam@thurston.blinkynet.net> Subject: Re: [Xnews] Can a Score be setup to filter out words in the message body? Date: Thu, 23 Aug 2007 02:16:29 +0000 From: Blinky the Shark <no.spam@box.invalid> References: <Xns99925FA793D21misplacedChildhood88@85.214.62.108> <Xns9993753CE298Bemteedee@203.26.24.228> <Xns9994836781651misplacedChildhood88@85.214.62.108> <slrnfcpavn.6nu.no.spam@thurston.blinkynet.net> <faig07$b6u$1@registered.motzarella.org> <slrnfcpi64.6nu.no.spam@thurston.blinkynet.net> <faio2t$smk$1@registered.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.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: http://blinkynet.net Lines: 93 X-Trace: individual.net 6y2fMMbhb0j1ZytgCKIrWwvcYDBIxkM5Kp700VH6HZ+I4NWciv Cancel-Lock: sha1:WwGxHbtgmYEnudOfToeh9ZJUDWw= X-The-Usenet-Improvement-Project: http://blinkynet.net/comp/uip5.html X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%; )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E X-OS: Mandriva 2006 Linux; kernel 2.6.12 X-WebTV-Stationery: Standard; BGColor=black; TextColor=black User-Agent: slrn/0.9.8.1 (Linux)