🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #151134

Re: [slrn] Scoring Problem

#151134
From: s. keeling
Date: Fri, 02 Jul 2004 19:15
49 lines
3372 bytes
On 2 Jul 2004 12:43:10 -0500, Mike Vanecek <MikeV99@privacy.net>:
>  I have a score entry (without line wraps) of
> 
>  Score:: =-8997   %Spamage... Porn & Viral Spamage
>          Subject:
>  Britney.Spears|Christina.?Aguilera|Gina.Lynn|Hillary.Duff|Jennifer.Lopez|Jessica.Simpson                                                                                               
>          Subject:
>  (cap|pic|set|vid)#|free\b.*(?!pick)(pi[cx]|porn|vid)|\s\d{3,}(?<!200[0-5]|50[1-4]|445)$                                                                                                
>          Subject: .*(penis|cam|gay|nude)                                                             
> 
>  However, a subject such as 
> 
>  Gays Captured on video  6863 
> 
>  does not trigger the entry -- it goes on down the list to the cross post text.
> 
>  I have tried several different regex expression, but am unable to hit on the
>  correct one except for the simple Subject: .*cam (for example).

I've tried things like that too, and what I've managed to come up with
is "slrn is not procmail."  I've not managed to come up with an
understandable and definitive exposition of what regexps are valid in
slrn Scores.  Consequently, my Score file is a few thousand lines
long, much of which is multiples of "Subject: blah1", "Subject:
blah2", & etc.

For your example above[*]:

   Subject: gay

should work against "gay" or "gays".  If it matches anywhere on the
line, it's a hit, so you don't need the procmail-ish ".*" in there.
You can limit that match with \<gay\> to match "gay" but not "gays".
You can also use only \< or \> to only match the beginning or end of
the word.

I would love to hear how others do this.  "Subject: (this|that|the other)"
would be very useful.


[*] Apologies to the real gays out there.  Nothing personal.  It
    (presumably?) just has nothing to do with us.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)               http://www.spots.ab.ca/~keeling
- -     Spammers! http://www.spots.ab.ca/~keeling/spammers.html
http://learn.to/quote http://www.netmeister.org/news/learn2quote.html
Technical Details
Message-ID: <slrncebcri.rju.keeling@infidel.spots.ab.ca>
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!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!sjc1.usenetserver.com!news.usenetserver.com!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!not-for-mail
References: <uvigr1-elj.ln1@news.invalid.99computer>

Show Full Headers
Complete Article Headers
Message-ID: <slrncebcri.rju.keeling@infidel.spots.ab.ca>
Subject: Re: [slrn] Scoring Problem
Date: Fri, 02 Jul 2004 19:15:53 +0000
From: "s. keeling" <keeling@spots.ab.ca>
References: <uvigr1-elj.ln1@news.invalid.99computer>
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!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!sjc1.usenetserver.com!news.usenetserver.com!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers
Lines: 49
Reply-To: keeling@spots.ab.ca
X-Trace: news.uni-berlin.de ptzgall4P4WLfo9Scj/0RQBRFR/6jVVwum+ctCiKDTGabuwzqp
X-UCE: I forward UCE/spam with ALL headers to abuse@your.isp UNREAD!
X-UCE2: Wow, are spammers ever stoopid!
X-PGP-Key: GPG key:
 http://keyserver.noreply.org:11371/pks/lookup?op=vindex&search=AC94E4B7
X-GPG-Key-ID: AC94E4B7
X-No-Confirm: yes
User-Agent: slrn/0.9.8.0 (Linux)