Article View: news.software.nntp
Article #78120Re: (INN) Messages from newsgroup disappearing after removing and re-adding a group with ctlinnd
From: Jeffrey M. Vinocur
Date: Thu, 25 Oct 2007 02:46
Date: Thu, 25 Oct 2007 02:46
52 lines
2957 bytes
2957 bytes
In article <471fd390$0$234$e4fe514c@news.xs4all.nl>,
Joah Senegal <bloker@hva.nl> wrote:
>
>If I remove a group, I suspect its only removed from the active file,
Correct.
>the articles still exists in the overview...
and in the spool (which can be a real problem in tradspool, since
the article numbers will conflict when you re-add the group).
>So can you tell me how to purge the spool for a particular group?
Well, purging overview depends on your overview method; if it is
tradindexed, you should find it quite straightforward to find the
matching .DAT and .IDX files in $pathspool/overview and delete
them. If you are using tradspool for storage, you'll want to
delete the articles in that subdirectory of $pathspool/articles
as well.
Those should be enough to give you a new group where fresh
articles will be able to appear.
However, as Joah suggests, no such technique will allow you to
accept new copies of articles that you have already seen. That
is, if you are using newsx to pull articles, delete and recreate
the group, and run newsx again, INN will still decline the
articles it has seen before.
This is mediated by the history database, and if it is important
to you to be able to re-accept articles you have previously seen,
you have a few imperfect options:
- wipe your whole history and start over
- delete the articles from the spool, and wait however long
your /remember/ is set to (in expire.ctl)
- delete the articles from the spool, delete your history, and
rebuild a history for all the remaining articles
- hack up a script to walk over the spool, find the
corresponding entry in history for each article, and remove
it
--
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID:
<ffp023$5c3$1@puck.litech.org>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!postnews.google.com!news1.google.com!newsfeed.stanford.edu!news.kjsl.com!news.litech.org!not-for-mailReferences:
<471f414d$0$233$e4fe514c@news.xs4all.nl> <ffnmpj$tsl$1@news1.tnib.de> <471fd390$0$234$e4fe514c@news.xs4all.nl>Show Full Headers
Complete Article Headers
Message-ID: <ffp023$5c3$1@puck.litech.org> Subject: Re: (INN) Messages from newsgroup disappearing after removing and re-adding a group with ctlinnd Date: Thu, 25 Oct 2007 02:46:27 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <471f414d$0$233$e4fe514c@news.xs4all.nl> <ffnmpj$tsl$1@news1.tnib.de> <471fd390$0$234$e4fe514c@news.xs4all.nl> 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!postnews.google.com!news1.google.com!newsfeed.stanford.edu!news.kjsl.com!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Litech Systems Design Lines: 52 Sender: jeff@litech.org NNTP-Posting-Host: puck.litech.org X-Trace: puck.litech.org 1193280387 5507 66.218.0.75 (25 Oct 2007 02:46:27 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Thu, 25 Oct 2007 02:46:27 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)