🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50840

Re: Accumulating innfeed cruft

#50840
From: Sven Paulus
Date: Mon, 26 Feb 2001 09:57
29 lines
1958 bytes
Kai Henningsen <kaih=7wYl6lLmw-B@khms.westfalen.de> wrote:
> There really should be a standard distributed way of coping with them.

I run the following script every hour. It relies on the presence of fuser on
the system. Of course this doesn't help if your sending articles to a site
(in newsfeeds) which isn't configured in innfeed.conf.

#! /bin/sh
 
# innfeed-undrop - requeues dropped articles
#
# 1-Apr-'99 sven
#
 
INNFEEDDIR=/news/spool/innfeed
 
cd $INNFEEDDIR || exit 1
 
# check, if innfeed-dropped files exist
ls innfeed-dropped.* > /dev/null 2> /dev/null || exit 0
for a in innfeed-dropped.*; do
        # still in use?
        if /bin/fuser $a > /dev/null; then
                continue
        fi
        # distribute to the feeds
        /news/bin/filechan -d $INNFEEDDIR -f 2 < $a && rm -f $a
done
Technical Details
Message-ID: <97d9b5$c3r$1@sapa.inka.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!newsfeeds.belnet.be!news.belnet.be!newscore.gigabell.net!news-fra.pop.de!schlund.de!inka.de!not-for-mail
References: <978v65$eao$1@marduk.litech.org> <9790d7$kji$1@allhats.xcski.com> <ylsnl3aml8.fsf@windlord.stanford.edu> <7wYl6lLmw-B@khms.westfalen.de>

Show Full Headers
Complete Article Headers
Message-ID: <97d9b5$c3r$1@sapa.inka.de>
Subject: Re: Accumulating innfeed cruft
Date: Mon, 26 Feb 2001 09:57:57 +0000
From: Sven Paulus <W1986@inka.de>
References: <978v65$eao$1@marduk.litech.org> <9790d7$kji$1@allhats.xcski.com> <ylsnl3aml8.fsf@windlord.stanford.edu> <7wYl6lLmw-B@khms.westfalen.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!newsfeeds.belnet.be!news.belnet.be!newscore.gigabell.net!news-fra.pop.de!schlund.de!inka.de!not-for-mail
Newsgroups: news.software.nntp
Organization: (Posted via) INKA e.V. http://www.inka.de/
Lines: 28
NNTP-Posting-Host: puric.inka.de
X-Trace: sapa.inka.de 983181477 12411 212.227.14.17 (26 Feb 2001 09:57:57 GMT)
X-Complaints-To: newsmaster@inka.de
NNTP-Posting-Date: 26 Feb 2001 09:57:57 GMT
User-Agent: tin/1.5.7-20001104 ("Paradise Regained") (UNIX) (Linux/2.0.36 (i686))