🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #162524

Re: [slrn] Killfile question about X-headers

#162524
From: W. Citoan
Date: Sat, 12 Feb 2005 20:29
39 lines
2499 bytes
Walter Dnes (delete the 'z' to get my real address) wrote:
>
>  Given the fact that it requires several *HOURS* to scan a directory
>  with approx 6500 messages, it was not exactly a success.

Eh?  Even with a slow computer, that seems excessive.  I put together a
quick & dirty perl script here (Windows XP, 2.8 GHz Pent4, 768 MB RAM)
and it took less than a minute to go through 7300+ messages.

I actually had a full-featured perl script that did this on a previous
computer (slower, running Debian) and never saw a performance problem.

>  To make a long story short, my approach is to scan all articles and
>  insert the X-header "X-Bozomatic-Branch-Filter: yes" (without the
>  quotes) as the first line in the article file of unwanted posts.

I don't recommend that.  That will cause slrn to have to do expensive
scoring.  Rather, extract the message id from the bozo's posts and add
those to your slrn score file.  That will kill the bozo and responses to
the bozo.

Use a script to run slrnpull (or whatever you're using) and then run
your bozo script.  Use a macro to modify the "g" key to reload your
score file when checking for new messages.

    define my_refresh_groups ()
    {
      reload_scorefile(1);
      call ("refresh_groups");
      call ("bob");
    }
    definekey ("my_refresh_groups", "g", "group");

- W. Citoan
-- 
...the bravest are surely those who have the clearest vision of what is
before them, glory and danger alike, and yet notwithstanding go out to meet
it.
-- Thucydides
Technical Details
Message-ID: <slrnd0spq2.3b8.wcitoan@wcitoan-via.supernews.com>
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.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!tdsnet-transit!newspeer.tds.net!sn-xit-02!sn-xit-12!sn-xit-08!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <37738kF5ahg8rU1@individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnd0spq2.3b8.wcitoan@wcitoan-via.supernews.com>
Subject: Re: [slrn] Killfile question about X-headers
Date: Sat, 12 Feb 2005 20:29:57 -0000
From: "W. Citoan" <wcitoan@NOSPAM-yahoo.com>
References: <37738kF5ahg8rU1@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!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!tdsnet-transit!newspeer.tds.net!sn-xit-02!sn-xit-12!sn-xit-08!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: news.software.readers
Organization: Posted via Supernews, http://www.supernews.com
User-Agent: slrn/0.9.7.4 (Win32)
X-Complaints-To: abuse@supernews.com
Lines: 39