🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #255471

Re: [slrn] Score file question

#255471
From: Mike Yetto
Date: Sat, 07 Sep 2013 15:41
73 lines
4352 bytes
In a world where Lewis <g.kreme@gmail.com.dontsendmecopies>
posts to Usenet.
> In message <slrn20130907091053.181.twooffive@may.eternal-september.org> 
>   Mike Yetto <myetto1@nycap.invalid> wrote:
>> In a world where Lewis <g.kreme@gmail.com.dontsendmecopies>
>> posts to Usenet.
>>> I tried to create a score definition that would automatically
>>> add 100 to any messages posted to a private newsserver.

>>> [private.*]
>>> Score: 100
>>>    From: *

>>> this didn't work, but

>>> [private.*]
>>> Score: 100
>>>    From: bob@private.news

>> Is there a specific server you wish to ignore? This might be
>> easier (read possible) than scoring on any private newsserver.

> I connect to a newserver that is entirely off USENET and all its groups
> are prefixed with the name of the group running the server, like
> acme.test acme.discussion, etc. I connect to it using the same slrnrc
> and score file that I use for everything else, just with a different
> command line (slrn -h private.news.tld).

Okay, now I get it. You only have one score file that has scores
you want to disregard for private.<whatever> groups. Disregard
the last sentence in my next paragraph.

> I have a lot of 'little' rules that drive scores under 0, but not under
> 100 which means I don't normally see the posts, but if they are in a
> thread I'm following I might read them anyway. (things like improper
> content types or posting from googlegroups). Since these rules,
> combined, score at most 100 points, I want to negate them all by not
> having them apply to any post in a group with the prefix.

> I thought From: * would match everything with a From: header. I'll try
> .* next time I connect to it (I'd do it now, but there are no new posts
> and are unlikely to be until Monday).

The specification for selecting which post to score uses regular
expressions. So a solitary splat (*) is meaningless, but dot
splat (.*) means any number of any character. In other words,
select everything.

>> The example that you say works doesn't score on a server, but it
>> does score on all groups within a hierarchy. You would do this
>> for all articles from anyone with a correctly constructed regular
>> expression, ie. "From: .*" without the quotes. This seems
>> meaningless to me as it would just move the base score for all
>> articles from 0 to 100.

> Yes, exactly what I want to do.

> Hopefully I've explained it better and now you can tell me why what I'm
> doing is silly and that there's a much better and cleverer way to do it.

> No, really, I'm hoping for cleverer.

It does seem to be a good solution to the problem I didn't see.

Well, I'm glad I gave you an answer, even though I thought it
made no sense.

Mike "just draw a target around the hit" Yetto
-- 
"There is danger from all men. The only maxim of a free
government ought to be to trust no man living with power to
endanger the public liberty."
    - John Adams 
Technical Details
Message-ID: <slrn20130907113008.83.twooffive@may.eternal-september.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!border1.nntp.ams.giganews.com!nntp.giganews.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!may.eternal-september.org!.POSTED!not-for-mail
References: <slrnl2m7h0.11o5.g.kreme@mbp55.local> <slrn20130907091053.181.twooffive@may.eternal-september.org> <slrnl2mfh3.12q4.g.kreme@mbp55.local>

Show Full Headers
Complete Article Headers
Message-ID: <slrn20130907113008.83.twooffive@may.eternal-september.org>
Subject: Re: [slrn] Score file question
Date: Sat, 07 Sep 2013 11:41:16 -0400
From: Mike Yetto <myetto1@nycap.invalid>
References: <slrnl2m7h0.11o5.g.kreme@mbp55.local> <slrn20130907091053.181.twooffive@may.eternal-september.org> <slrnl2mfh3.12q4.g.kreme@mbp55.local>
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.ams.giganews.com!nntp.giganews.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!may.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: slrn Mafia / Xnews Tong (emeritus)
Lines: 73
Injection-Info: may.eternal-september.org;
 posting-host="8f28f292bb3c17954cd3e2591a175da1";
 logging-data="4826"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX19OE6lmPFgyz0wfSBHNvoZFOLhccfJLhYQ="
User-Agent: slrn/pre1.0.2-9 (Linux)
X-The-Usenet-Improvement-Project: http://twovoyagers.com/improve-usenet.org/
X-No-Bananas: Yes (except Ray)
Cancel-Lock: sha1:pludZWBVN29l8nBp1sPuyuU6d5Q=
 sha1:U93Chs2YSMQ69NI//8HWpRf8qTY=