🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #250659

Re: Dialog: Import/export newsrc

#250659
From: Sqwertz
Date: Wed, 27 Jun 2012 01:18
77 lines
5141 bytes
On Sun, 24 Jun 2012 22:48:50 +0200, Bernd Rose wrote:

> On Sun, 24 Jun 2012 14:28:42 -0500, Sqwertz wrote:
> 
>> Is there anyw ay to import/export the list of subscribed groups?  
> [...]
>> Extra bonus points if it can preserve my categories.
> 
> This is not possible. The Dialog database uses index numbers for 
> nearly everything. The index numbers stored for your subscribed
> groups as well as for your categories would point at the group
> with the same number inside the *new* combined group list of
> all servers you newly subscribed to.
> 
> *Always* use the *whole* Data folder of an earlier installation
> or a clean Data from fresh install. *Never* mix! (The same applies
> to restoration of backups, btw.: *Never* copy only part of the
> backup into an existing Data folder, since group numbers may have 
> changed. Or extra files for a group (that are not present in the
> backup) may provide wrong pointers to messages inside the group.
> 
>> Is there a better way to zap the databases clean and zero them out
>> completely?  I tried "Clear Groups" one time followed by "Compact
>> Databases" but there were still several large message files.
> 
> "Clear groups" only deletes content from selected *newsgroups*.
> If you want to clear the whole database, you also need to delete
> all messages from all *folders*. This can only be done, manually
> (folder by folder). Be sure, that you have the view set to show
> "All messages" (<Ctrl+F1>) and that you have unset all "Keep" 
> flags. While messages with "Keep" flag /are/ deleted by the 
> "Clear groups" command, they are /not/ by normal delete. 
> 
> I usually select all messages inside a folder, hit "k" to toggle
> the "Keep" flag for all selected messages. Depending on the last
> selected record, now all or no messages carry the "Keep" flag.
> If the flag is set, another "k" hit will unset it. Now hitting
> DEL should remove all messages for good, provided there is no
> filter set...
> 
> And be sure, that you never unsubscribed a group while keeping
> some messages inside it. (That's supported by Dialog.) Best to
> select /everything/ inside the "All" category. (Select the first
> group - probably a spacer - and hit <Shift+End>. Then execute the
> "Clear groups" command on the selection. Please note, that the
> display is likely to not being properly updated after this. So
> you should wait until the disk activity ceases and switch to
> another category to see, whether the task was finished.)
> 
> When you cleared all groups and deleted every message from every
> folder (including Outbox, Sent, Drafts, and all Inboxes), you
> can run "Compact Database". If you wish to ditch a server, do 
> this beforehand, as well. 
> 
> Now, only /one/ msg.dat file (containing only a 4-byte header)
> should be left inside Data. If you still have msg*.dat files
> with numbers (msg1.dat, msg2.dat,...) or if msg.dat is bigger
> then 4 bytes, you either did not delete /all/ messages, drafts,
> sent items,... or your database is corrupt beyond repair.

Thanks.  I cleared out everything after making a backup and the
problem still exists.  I have traced it back to a problem with my news
server.  Articles are being numbered out of sequence and are appearing
out the range of Dailog's LocalMsgHigh and the server's ServerMsgHigh
markers on successive header/XOVER retrievals.

What is the usual name of the optional header server supplied header
that reads something like:

Unknown-Header: news.software.readers <serverassignedarticle#>
[crossposted-group <article#>]

And why does readnews.net sometimes supply that header and sometimes
not.  They seem to have switched back and forth providing it or not
several times.

-sw
Technical Details
Message-ID: <1jdvoz63bfnxe$.dlg@sqwertz.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!s09-11.readnews.com!unm2.readnews.com.POSTED!not-for-mail
References: <f4ub538c75mn.dlg@sqwertz.com> <w11tg73tfvk4.dlg@b.rose.tmpbox.news.arcor.de>

Show Full Headers
Complete Article Headers
Message-ID: <1jdvoz63bfnxe$.dlg@sqwertz.com>
Subject: Re: Dialog: Import/export newsrc
Date: Tue, 26 Jun 2012 20:18:53 -0500
From: Sqwertz <swertz@cluemail.compost>
References: <f4ub538c75mn.dlg@sqwertz.com> <w11tg73tfvk4.dlg@b.rose.tmpbox.news.arcor.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!s09-11.readnews.com!unm2.readnews.com.POSTED!not-for-mail
X-Trace: DXC=_=2:_Z9ZijDmelXIFFM3?IG^cGF?V7mID]G0e@Sk_WTBT6RVf`ncYmFg@\4YOPI=PAHmG@dZf=BCAB0Q>[nf=9>@@J3Fk48nFICAIGmNX<W>4C
X-Complaints-To: abuse@blocknews.net
Newsgroups: news.software.readers
User-Agent: MicroPlanet-Gravity/2.60.2060 Hamster/2.0.0.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Organization: Me, Myself, and Inc.
X-no-archive: yes
Lines: 77
NNTP-Posting-Host: 444ca2ec.newsreader.readnews.com
X-Received-Bytes: 4676
X-Original-Bytes: 4828