🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60124

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

#60124
From: Russ Allbery
Date: Fri, 30 Aug 2002 03:03
35 lines
2618 bytes
David Canzi <dmcanzi@watserv1.uwaterloo.ca> writes:

> 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.

Are you using expire or expireover?  (And do you have groupbaseexiry set
in inn.conf?)  Normally in INN 2.3.x expire doesn't do the work of reading
the expire.ctl file; it only cleans up the history file.  The real work is
done by expireover.

If you're using class-based expiration, it does look like expire -t should
do what you expected it to do....

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <yladn5qc9k.fsf@windlord.stanford.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <akm59a$mer$1@tabloid.uwaterloo.ca>

Show Full Headers
Complete Article Headers
Message-ID: <yladn5qc9k.fsf@windlord.stanford.edu>
Subject: Re: testing a new control.ctl (inn-2.3.2, redhat Linux)
Date: Thu, 29 Aug 2002 20:03:03 -0700
From: Russ Allbery <rra@stanford.edu>
References: <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!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 34
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1030676583 28566 171.64.13.23 (30 Aug 2002 03:03:03 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:CFckY7ldy3tmgseAbhL1L4bims0=