Article View: news.software.readers
Article #231021Re: [slrn] scoring using wildcards
From: Whiskers
Date: Thu, 05 Mar 2009 18:36
Date: Thu, 05 Mar 2009 18:36
41 lines
2479 bytes
2479 bytes
On 2009-03-05, sfb <sfb@sfb.invalid> wrote:
> Hi everybody. I'm trying to kill a poster who uses numbers in the 'from'
> part of the header. The numbers change and I was wondering if there was
> some way of using wildcards in the score file 'from' attribute? I've
> looked at the documentation and it seems wildcards are only useable in
> the [newsgroup] indicator. I've tried the usuals, * and ?, but they don't
> seem to work. Is there a way of using wildcards in the way I would like.
> Thanks
>
> sfb
Is there an unchanging element in his 'From' headers that is unique enough
to score on? If need be you could use two or more factors to score on
(all from the same header, or from other headers) eg
#v+
%BOS
Score: =-9999 %number-shifting nuisance
From: foo
From: bar
%EOS
#v-
will kill posts where the From headers are of the form
12foo99bar@example.invalid
or
foo2345@bar
(Note the single : after the word Score making the following lines all
logical AND - a double :: would make them logical OR)
--
-- ^^^^^^^^^^
-- Whiskers
-- ~~~~~~~~~~
Technical Details
Message-ID:
<slrngr06to.81b.catwheezel@ID-107770.user.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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<slrngr03l4.8le.sfb@dajand.me.uk>Show Full Headers
Complete Article Headers
Message-ID: <slrngr06to.81b.catwheezel@ID-107770.user.individual.net> Subject: Re: [slrn] scoring using wildcards Date: Thu, 05 Mar 2009 18:36:40 +0000 From: Whiskers <catwheezel@operamail.com> References: <slrngr03l4.8le.sfb@dajand.me.uk> 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!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: is an alien concept Lines: 41 Reply-To: Whiskers <catwheezel@gmx.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: individual.net wCOeW8vSeGFno9Y5mDHquwKyjJ4hcUwJuIaES3rpANWitqtTHO X-Orig-Path: ID107770.user.individual.net!not-for-mail Cancel-Lock: sha1:VcKaffZ6reuwpzIGSEcjXP4Jo+8= X-Face: (8UIp\C%, 7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_ "Pmt)1xC~QW%bU/xrlDuux"; aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00 xYer]; 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@ p& g^8<z5>HA User-Agent: slrn/pre0.9.9-94 (Linux)