🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #34988

Re: Expire with INN2: Unclear on the concept

#34988
From: Kjetil Torgrim Homme
Date: Tue, 26 Jan 1999 00:00
29 lines
2233 bytes
[Richard Michael Todd]

>   Although Barry can probably get what he wants without having to
>   actually hack INND code, just by running a script to throttle
>   INND, create a new history file from the old by ditching any entry
>   over n days old, call makehistory -r -s nnnnn to build the new
>   .dir/.pag files, and mv the new history files in place of the old
>   and let innd go.  It's not quite as efficient as hacking expire,
>   but it means one wouldn't need to maintain a separately hacked
>   version of INN.

Err, I haven't tried it, but why not do expire based on storage class?

     If  you  have  turned  on  the  storage  manager  with   the
     'storageapi' in inn.conf(5) option, and you don't use ``-c''
     option with expire or overview data for the article  is  not
     created, then you will need to use a slightly different for-
     mat for specifying expiration times for storage classes:
          classnum:keep:default:purge
     Where  classnum  is  the  number  that  you   specified   in
     storage.ctl(5).  The rest of the fields are identical to the
     5 field format.  If the line for classnum  is  not  defined,
     keep, default and purge are assumed to be all ``0''.


Kjetil T.


Technical Details
Message-ID: <1ryamplxq5.fsf@haey.ifi.uio.no>
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!not-for-mail
References: <Pine.LNX.4.00.9901200022550.1119-100000@Qoredump.ineT.telE.dQ> <yl6hftm3czm.fsf@intrepid.ecn.ou.edu> <Pine.LNX.4.00.9901200404350.1119-100000@Qoredump.ineT.telE.dQ> <ylbtjuo8pp.fsf@windlord.stanford.edu> <yl6emoq338z.fsf@intrepid.ecn.ou.edu>

Show Full Headers
Complete Article Headers
Message-ID: <1ryamplxq5.fsf@haey.ifi.uio.no>
Subject: Re: Expire with INN2: Unclear on the concept
Date: Tue, 26 Jan 1999 00:00:00 +0000
From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no>
References: <Pine.LNX.4.00.9901200022550.1119-100000@Qoredump.ineT.telE.dQ> <yl6hftm3czm.fsf@intrepid.ecn.ou.edu> <Pine.LNX.4.00.9901200404350.1119-100000@Qoredump.ineT.telE.dQ> <ylbtjuo8pp.fsf@windlord.stanford.edu> <yl6emoq338z.fsf@intrepid.ecn.ou.edu>
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!not-for-mail
X-Deja-AN: 437182762
X-Complaints-To: usenet@mimir.ifi.uio.no
X-Trace: mimir.ifi.uio.no 917373700 17676 129.240.64.139 (26 Jan 1999 18:01:39 GMT)
Organization: Dept. of Informatics, University of Oslo, Norway
NNTP-Posting-Date: 26 Jan 1999 18:01:39 GMT
Newsgroups: news.software.nntp