🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #73007

Re: [slrn] ignore irregular From:

#73007
From: Thomas Schultz
Date: Sun, 04 Mar 2001 00:02
27 lines
2010 bytes
On 22 February 2001 at 18:44 GMT, Martin Trautmann <traut@gmx.de> wrote:
[...]
> Hmm... I expected that slrn would read
>     From: A
>     From: B
> 
> as 'A OR B' - but it does not work that way?

Depending on your needs, you can tell slrn to interpret this as "A OR B"
or "A AND B":

,--- [ score.txt ] ---
| A group of keywords defines a test that is given to the header of the
| article.  The `Score' keyword is used to assign a score to the header. If it
| is followed by a single colon, the score is only given if all tests are
| passed (logical AND); two colons indicate that the score should be awarded
| if any of the tests are passed (logical OR).
`---

slrn 0.9.7.0 will even allow grouping, so you can have rules like
"A AND (B OR C)".
-- 
Thomas Schultz <tststs@gmx.de> * Recent news from http://slrn.sourceforge.net/
 -> [2001-01-28] First steps towards slrn 0.9.7.0
 -> [2001-01-19] Thomas Schultz new slrn maintainer
 -> [2000-12-21] slrn 0.9.6.3pl3 released
Technical Details
Message-ID: <slrn9a31h5.dt.tststs@starflower.tststs.ddns.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.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-koe1.dfn.de!do.de.uu.net!innmaster.de.uu.net!news.cityweb.de!tststs.ddns.org!not-for-mail
References: <973i5p$n4b7l$1@ID-685.news.dfncis.de> <973j58$ng5tb$1@ID-685.news.dfncis.de>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9a31h5.dt.tststs@starflower.tststs.ddns.org>
Subject: Re: [slrn] ignore irregular From:
Date: Sun, 04 Mar 2001 00:02:45 +0000
From: tststs@gmx.de (Thomas Schultz)
References: <973i5p$n4b7l$1@ID-685.news.dfncis.de> <973j58$ng5tb$1@ID-685.news.dfncis.de>
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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-koe1.dfn.de!do.de.uu.net!innmaster.de.uu.net!news.cityweb.de!tststs.ddns.org!not-for-mail
Newsgroups: news.software.readers
Organization: Pinguin online.
Lines: 26
NNTP-Posting-Host: 149.225.25.78
NNTP-Posting-Date: 4 Mar 2001 00:16:56 GMT
X-Complaints-To: abuse@cityweb.de
X-Server-Date: 4 Mar 2001 00:14:23 GMT
User-Agent: slrn/0.9.6.4pl3 (Linux)