🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #2296

Re: Archiving news on innd

#2296
From: Rich Salz
Date: Thu, 23 Dec 1993 20:51
37 lines
2578 bytes
In <2f7ukcINNi2q@ftp.uu.net> jml4@cus.cam.ac.uk (John Line) writes:
>This prompts the question: is there any chance of INN 1.5 including an
>official way (as opposed to hacking news.daily, which is the obvious "quick
>fix") to allow C-news-like expiry, where articles are archived just before
>they are deleted?

No, I will not be adding archiving to expire.

Please note that you can direct archive to use (hard and soft, if you've got
them) links so that the disk space waste isn't a factor.  I think it's a
non-issue, anyway, since if you're concerned about the amount space a
temporary already-archived copy takes up in your spool directory, then you're
running so tight that you can't afford much news anyway.  The fact that
archive means cancelled articles get archived is a benefit, I think.

At any rate, you don't have to run archive as a channel feed.  You can
run it as a file feed (or multiple file feeds, matching your expire.ctl
rules) and run archive just before news.daily.  This will come VERY close
to giving you C-news-like behavior in all regards.

>The sort of approach I'm thinking of is to provide a standard way to get a
>command run, when delayrm is used

The best way to do this is to replace "expirerm" with your own wrapper
script that does what you want.

>[On a related point - there seems to be a bug/misfeature in news.daily, such
>that if no articles are expired, and delayrm is in effect, it treats the
>empty file expire.rm file as an error, rather than simply deleting it.

No -- suppose the filesystem where expire is writing its -z file is full?

In standard news system, it is VERY uncommon for nothing to be expired,
so INN is doing the right thing about warning you when that happens.
	/r$

Technical Details
Message-ID: <2fd0ddINNj8n@ftp.UU.NET>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!gmd.de!Germany.EU.net!EU.net!uunet!not-for-mail
References: <2f5l77INN368@ftp.uu.net> <2f7ctlINN29u@ftp.UU.NET> <2f7ukcINNi2q@ftp.uu.net>

Show Full Headers
Complete Article Headers
Message-ID: <2fd0ddINNj8n@ftp.UU.NET>
Subject: Re: Archiving news on innd
Date: Thu, 23 Dec 1993 20:51:57 +0000
From: rsalz@uunet.uu.net (Rich Salz)
References: <2f5l77INN368@ftp.uu.net> <2f7ctlINN29u@ftp.UU.NET> <2f7ukcINNi2q@ftp.uu.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!gmd.de!Germany.EU.net!EU.net!uunet!not-for-mail
Newsgroups: news.software.nntp,news.software.b,news.admin.technical
Organization: UUNET Technologies Inc, Falls Church, VA, USA
Lines: 36
Sender: zorch@ftp.UU.NET
Approved: zorch@uunet.UU.NET
Distribution: world
NNTP-Posting-Host: ftp.uu.net