🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #68487

Re: [slrn] scorefile checking postings body?

#68487
From: Jens Wahnes
Date: Tue, 05 Dec 2000 00:00
30 lines
1376 bytes
Jules Alberts wrote:

> however, i want files to be killed based on what's in the body[0]. is
> this possible, and what would the scorefile entry look like?

No. Slrn can currently only score on header lines.

> [0] i want to kill messages with text like "Content-Type:
>     text/x-vcard;"

In this particular case, something like

[*]
Score: -500
      Mime-Version: 1\.0
      ~Content-Type: text/plain

might be sufficient. This will give a negative score on all non
plaintext postings, including those with vcards. But this is "expensive
scoring" which takes some time and triggers a bug in slrn. :-(

Jens


-- 
"What is robbing a bank compared with founding a bank?"

        - Bertolt Brecht

Technical Details
Message-ID: <slrn92puec.76p.jewa@message-id.wahnes-world.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!not-for-mail
References: <3a2cb1ff$0$1699@heracles>

Show Full Headers
Complete Article Headers
Message-ID: <slrn92puec.76p.jewa@message-id.wahnes-world.de>
Subject: Re: [slrn] scorefile checking postings body?
Date: Tue, 05 Dec 2000 00:00:00 +0000
From: Jens Wahnes <jewa@gmx.net>
References: <3a2cb1ff$0$1699@heracles>
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!not-for-mail
X-Deja-AN: 701361439
X-NNTP-Posting-Host: localhost
Mail-Copies-To: nobody
Organization: Wahnes World
User-Agent: slrn/0.9.6.3 (Linux)
Newsgroups: news.software.readers