🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72172

How to delete all articles in a newsgroup?

#72172
From: Gary Mills
Date: Tue, 16 Aug 2005 19:04
19 lines
1862 bytes
I recently upgraded our news server from inn-STABLE_2_2-1999-01-09_03-01
to inn-2.4.2.  The new server is working very nicely.  However, I had
a perl script called `ngclean' that I could use to delete all of the
articles in a newsgroup.  This script no longer works.  I had been
using it to clean up local news groups whenever a professor wanted
to start a new term with an empty newsgroup.

Does anyone have such a script that works with inn-2.4.2?  Is there
another way to do this in reasonably quick fashion?  I'm not using
the traditional spool, so just removing the files isn't a solution.
I'd also like to be sure that index and overview databases are
treated nicely when articles are deleted, and that existing client
databases don't have to be reinitialized.




-- 
-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-
Technical Details
Message-ID: <ddtdce$9qq$1@canopus.cc.umanitoba.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!newscon06.news.prodigy.com!prodigy.net!newsfeed-00.mathworks.com!bigboote.WPI.EDU!news.tufts.edu!elk.ncren.net!newsflash.concordia.ca!canopus.cc.umanitoba.ca!deneb.cc.umanitoba.ca!mills

Show Full Headers
Complete Article Headers
Message-ID: <ddtdce$9qq$1@canopus.cc.umanitoba.ca>
Subject: How to delete all articles in a newsgroup?
Date: Tue, 16 Aug 2005 19:04:46 +0000
From: Gary Mills <mills@deneb.cc.umanitoba.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!newscon06.news.prodigy.com!prodigy.net!newsfeed-00.mathworks.com!bigboote.WPI.EDU!news.tufts.edu!elk.ncren.net!newsflash.concordia.ca!canopus.cc.umanitoba.ca!deneb.cc.umanitoba.ca!mills
Newsgroups: news.software.nntp
Organization: The University of Manitoba
Lines: 19
NNTP-Posting-Host: deneb.cc.umanitoba.ca
X-Trace: canopus.cc.umanitoba.ca 1124219086 10074 130.179.16.69 (16 Aug 2005
X-Complaints-To: abuse@cc.umanitoba.ca
NNTP-Posting-Date: Tue, 16 Aug 2005 19:04:46 +0000 (UTC)
User-Agent: nn/6.6.5