🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60119

testing a new control.ctl (inn-2.3.2, redhat Linux)

#60119
From: David Canzi
Date: Thu, 29 Aug 2002 21:55
32 lines
2417 bytes
I caused a disaster when I installed a new expire.ctl.  My best guess
was that, by some perversity in the code, "control.*" in expire.ctl
matches *ALL* newsgroups.  (That line was at the end of the file, and
the last line matched decides when an article expires.)  After enough
time had passed to recover my courage, I decided to remove the suspect
line and try again, but *test* the new control.ctl first before
installing it.

According to the expire man page, the -t flag has the following effects:
	- instead of removing articles, expire writes their names to stdout
	- expire leaves the new history in history.n instead of renaming it
The man page says the -z flag has this effect:
	- instead of removing articles, expire writes their storage tokens
	  to a file

When I ran expire with a test version of expire.ctl and the -t flag, it
wrote nothing to stdout.  When I added -z, expire wrote nothing to the
output file.

Later, I made a copy of history, then ran expire with both -t and -z,
then extracted a list of all storage tokens in the copied history file
that weren't in the history.n file.  I could not access any article
with any of those storage tokens.  As far as I can tell, expire with -t
removes the articles it expires.  There doesn't appear to be any safe
way to test a new expire.ctl before installing it.

This might conceivably be fixed in a later version.

-- 
David Canzi		If love of money is the root of all evil, marketing
			must be the trunk and most of the branches.
Technical Details
Message-ID: <akm59a$mer$1@tabloid.uwaterloo.ca>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!torn!news.uwaterloo.ca!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <akm59a$mer$1@tabloid.uwaterloo.ca>
Subject: testing a new control.ctl (inn-2.3.2, redhat Linux)
Date: Thu, 29 Aug 2002 21:55:54 +0000
From: dmcanzi@watserv1.uwaterloo.ca (David Canzi)
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!torn!news.uwaterloo.ca!not-for-mail
Newsgroups: news.software.nntp
Organization: University of Waterloo
Lines: 31
NNTP-Posting-Host: watserv1.uwaterloo.ca
X-Trace: tabloid.uwaterloo.ca 1030658154 23003 129.97.128.116 (29 Aug 2002 21:55:54 GMT)
X-Complaints-To: abuse@uwaterloo.ca
NNTP-Posting-Date: Thu, 29 Aug 2002 21:55:54 +0000 (UTC)
X-Newsreader: trn 4.0-test72 (19 April 1999)