🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #71361

Re: Deleting messages from innd?

#71361
From: Jeffrey M. Vinocur
Date: Fri, 29 Apr 2005 21:18
31 lines
2170 bytes
In article <427259ed$0$9196$626a14ce@news.free.fr>,
Frédéric <fg@far.com> wrote:
>
>/usr/local/news/bin/makehistory -O -e -F
>/usr/local/news/bin/makedbz -i
>mv /usr/local/news/db/history.n.dir /usr/local/news/db/history.dir
>mv /usr/local/news/db/history.n.pag /usr/local/news/db/history.pag

This is actually quite overkill.

Simply removing the bodies is enough; INN will automatically
clean up the rest overnight (presuming you run news.daily out of
cron as instructed by INSTALL).  If you want the server to stop
showing them immediately, try setting "nnrpdcheckart" in
inn.conf.

However, `ctlinnd cancel` is probably the right approach.  If it
didn't work, I wonder if you got the syntax wrong.  Correct usage
looks like this:

    ~news/bin/ctlinnd cancel '<427259ed$0$9196$626a14ce@news.free.fr>'

The angle brackets are optional at least in recent versions of
INN, but the single quotes are very important.  If you use double
quotes (or no quotes at all), and the Message-ID has a $ sign in
it (which most do), it won't work.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <d4u8av$qse$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.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.litech.org!not-for-mail
References: <KHrce.226$pi1.1808@newscontent-01.sprint.ca> <427259ed$0$9196$626a14ce@news.free.fr>

Show Full Headers
Complete Article Headers
Message-ID: <d4u8av$qse$1@puck.litech.org>
Subject: Re: Deleting messages from innd?
Date: Fri, 29 Apr 2005 21:18:23 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <KHrce.226$pi1.1808@newscontent-01.sprint.ca> <427259ed$0$9196$626a14ce@news.free.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.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 31
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1114809503 27534 66.218.0.75 (29 Apr 2005 21:18:23
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Fri, 29 Apr 2005 21:18:23 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)