Article View: news.software.readers
Article #83303Re: slrn's score file parsing
From: those who know me have no need o...
Date: Wed, 22 Aug 2001 00:58
Date: Wed, 22 Aug 2001 00:58
54 lines
2461 bytes
2461 bytes
<slrn9o5u1b.35j.alex@localhost.my.domain> divulged:
>I use stock score file that comes with the slrn and all I do is add a
>single address of a spammer, so it looks like this:
>
>[*]
>% Kill all articles which are uppercase and contain $ sign
> Score: -9999
> Subject: \$
> ~Subject: \c[a-z]
>% line bellow is mine
> From: <myemail@any\.where\.com>
>
>After adding the above address, I still get posts from this
>spammer.
when a score is introduced using a single colon, i.e., "score:", the
succeeding rules are taken as a series of rules which are combined using
_and_.
when a score is introduced using a double colon, i.e., "score::", the
succeeding rules are taken as a series of rules which are combined using
_or_.
note: the e-mail address has 10 tailing spaces. this may or may not
affect the matching logic. probably doesn't, but i'd suggest triming
the line anyway.
so, this score says: subtract 9999 from the score of any article which
has a dollar sign in the subject _and_ does not have at least one lower
case letter _and_ is from <myemail@any.where.com>.
you probably want:
Score:: -9999
{:
Subject: \$
~Subject: \c[a-z]
}
From: <myemail@any\.where\.com>
which score says: subtract 9999 from the score of any article which has
a dollar sign in the subject _and_ does not have at least one lower case
letter, _or_ is from <myemail@any.where.com>.
>But, if I press "k" while looking at a message and add this
>spammer to my score file via slrn automatically, and not manually, so
>that the kill entry looks like this:
that's because it's a separate score entry.
--
okay, have a sig then
Technical Details
Message-ID:
<to60ti9en15003@news.supernews.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.mbox.zip!archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-post-01!supernews.com!news.supernews.com!not-for-mailReferences:
<slrn9o5u1b.35j.alex@localhost.my.domain>Show Full Headers
Complete Article Headers
Message-ID: <to60ti9en15003@news.supernews.com> Subject: Re: slrn's score file parsing Date: Wed, 22 Aug 2001 00:58:26 -0000 From: those who know me have no need of my name <not-a-real-address@usa.net> References: <slrn9o5u1b.35j.alex@localhost.my.domain> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-post-01!supernews.com!news.supernews.com!not-for-mail Newsgroups: news.software.readers Organization: earthfriends User-Agent: slrn/0.9.7.2 (Linux) X-Complaints-To: newsabuse@supernews.com Lines: 53