🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #73777

Re: expire.ctl

#73777
From: Iulius
Date: Wed, 05 Jul 2006 15:36
97 lines
4327 bytes
En réponse à John F. Morse :
> Remembering a past goof when a bad configuration caused the expiration 
> of many thousand local articles, I figured I better run this by the 
> experts before I try it.

That's bad, all the more there is no way to recover them after expire
has come.


> /remember/:10

man expire.ctl

%
The first format specifies how long to keep history entries for articles
that aren't present in the news spool. These are articles that have either
already expired, or articles which the server rejected (when remembertrash
is set to true in inn.conf). There should be one and only one line in this
format, which looks like:

     /remember/:<days>

where <days> is a decimal number that specifies the minimum number of days
a history record for a given message ID is retained, regardless of whether
the article is present in the spool. (History entries for articles still present
in the spool are always retained.)

The primary reason to retain a record of old articles is in case a peer offers
old articles that were previously accepted but have already expired. Without
a history record for such articles, the server would accept the article again
and readers would see duplicate articles. Articles older than a certain number
of days won't be accepted by the server at all (see artcutoff in inn.conf(5)
and the -c flag in innd(8)), and this setting should probably match that
time period (10 days by default) to ensure that the server never accepts duplicates.
%


> *:A:never:never:never

Articles
There is no expire.


> *:A:16:16:6
> test,control.cancel:A:5:5:5
> one,two,three,four,five:A:never:never:never

*:A:16:16:16 (I think it is a typo)


> I am presuming the wildmat will allow the comma-separated list of groups?

Yes: <pattern> is a uwildmat(3)-style pattern, specifying the newsgroups to
which the line is applied. Like in « newsfeeds » file, commas can be used.

By the way, you can also check this with:
inncheck -a -v -pedantic
and see it does not complain.


> Is the above in the correct order so I won't accidentally wipe out 
> thousands of keeper articles?

That is fine.


> Would there be a better way to state my 
> intentions, possibly using the bang to negate something?

Since the three lines have different expire time, you cannot state it with
less than three lines!


> Could control.cancel be designated as control.* using the wildcard, or 
> simply control*, and if so, would its use harm the other control groups?

If you say « control* », every control group will expire within five days.
You can do that if you want (since control groups are not for readers but
for news servers).


By the way, I use:

/remember/:5
*:U:1:16:31
*:M:1:31:31
the-most-read-hierarchies-in-my-news-server:A:1:31:31 (or 62)
*.test:A:1:5:5
*.announce*:A:1:62:62
*.annonce*:A:1:62:62
control.*:A:1:5:5 (since I do not have « control », but only subgroups)

-- 
Iulius

« -- Vous croyez qu'on s'est fait rouler, chef ?
   -- P'têt ben qu'oui, p'têt ben qu'non... » (Astérix)
Technical Details
Message-ID: <e8gm91$l3q$1@smilodon.ecp.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!not-for-mail
References: <O8Pqg.95539$mF2.27932@bgtnsc04-news.ops.worldnet.att.net>

Show Full Headers
Complete Article Headers
Message-ID: <e8gm91$l3q$1@smilodon.ecp.fr>
Subject: Re: expire.ctl
Date: Wed, 05 Jul 2006 17:36:04 +0200
From: Iulius <iulius@nom-de-mon-site.com.invalid>
References: <O8Pqg.95539$mF2.27932@bgtnsc04-news.ops.worldnet.att.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!not-for-mail
Newsgroups: news.software.nntp
Organization: Gens Iulia -- http://www.trigofacile.com/
Lines: 97
NNTP-Posting-Host: 163.red-88-6-236.staticip.rima-tde.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: smilodon.ecp.fr 1152113761 21626 88.6.236.163 (5 Jul 2006 15:36:01
 GMT)
X-Complaints-To: ingesys@cti.ecp.fr
NNTP-Posting-Date: Wed, 5 Jul 2006 15:36:01 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr;
In-Reply-To: <O8Pqg.95539$mF2.27932@bgtnsc04-news.ops.worldnet.att.net>