🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83391

[help request] news update : editing article into news server file system - good practise ?

#83391
From: Graum
Date: Thu, 26 Aug 2010 00:07
63 lines
2305 bytes
Hello!

Ones request to change a word in subject or into news bodya bout their 
post not to lose date and thread.

1. For subject, I did a test :

a.
I did a short stop 
/etc/init.d/inn2 stop

b.
I did a change into subject without changing the size of the message.
into /var/spool/news/articles/A/B/C/[0-9]\+

But as I saw important informations 
into /var/spool/news/articles/a/b/c/
2 files :
- A.B.C.DAT
and 
- A.B.C.IDX

c.
I did a change into A.B.C.DAT just to have subject updated

A.B.C.DAT size for line didn't changed.


d.
I restarted inn2
/etc/init.d/inn2 restart

e. 
I did a 
ctlinnd renumber A.B.C

thinking that A.B.C.IDX is rebuilt 
from A.B.C.DAT 
and 
from /var/spool/news/articles/A/B/C/[0-9]\+


2.
For body, I updated body without changing size of article.


##########################################################

I did all this cause I did not find any edit command for an article

I found cancel command from ctlinnd.

I found nothing about editing an article during a pause and 
rebuilding .IDX and .DAT.

##########################################################

Any help or comment would be appreciated.

Regards

Graum
Technical Details
Message-ID: <4c75b034$0$2816$426a74cc@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.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!feeder.erje.net!proxad.net!feeder1-2.proxad.net!cleanfeed2-b.proxad.net!nnrp6-2.free.fr!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <4c75b034$0$2816$426a74cc@news.free.fr>
Subject: [help request] news update : editing article into news server file system - good practise ?
Date: Thu, 26 Aug 2010 00:07:16 +0000
From: Graum <graum@xxxxxxxxx.xxx>
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!border1.nntp.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!feeder.erje.net!proxad.net!feeder1-2.proxad.net!cleanfeed2-b.proxad.net!nnrp6-2.free.fr!not-for-mail
Newsgroups: news.software.nntp
User-Agent: Pan/0.133 (House of Butterflies)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 63
Organization: Guest of ProXad - France
NNTP-Posting-Date: 26 Aug 2010 02:07:16 MEST
NNTP-Posting-Host: 88.186.228.246
X-Trace: 1282781236 news-2.free.fr 2816 88.186.228.246:58065
X-Complaints-To: abuse@proxad.net
X-Original-Bytes: 2063