🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #221839

Re: [dialog] Exporting from Sent folder

#221839
From: Bernd Rose
Date: Sat, 07 Jun 2008 10:12
24 lines
2218 bytes
On Sat, 7 Jun 2008 01:56:07 -0400, Oliver Cromm wrote:

> Messages from "Sent" can be extracted as separate files (*.msg, default)
> or as mbox (*.mbx):
>   
>   ruby extr_sent.rb
>   ruby extr_sent.rb -m

Hm. You may consider extracting the messages based on a msg2.drt 
lookup. (Group 2 is the Sent folder on all Dialog installations.)

Ignore the first 4 Bytes of the file. Afterwards you see records of
15 Bytes each. The first 4 are record numbers. You can use these to
look up additional information from the 2.idx file, like deletion
status. But to keep things simple, you can easily ignore them and 
tell people to run a Compact database before extracting the messages.

The next two bytes are the number of the msg*.dat which contains the
message referenced by the current record. The following 4 bytes are
the starting byte position of the message (inside the msg*.dat 
referenced above). And the next 4 bytes contain the number of bytes 
of the message.

Bernd
Technical Details
Message-ID: <f303u6enh3nd.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!storethat.news.telefonica.de!telefonica.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail
References: <azanzl663stj.dlg@mid.crommatograph.info>

Show Full Headers
Complete Article Headers
Message-ID: <f303u6enh3nd.dlg@b.rose.tmpbox.news.arcor.de>
Subject: Re: [dialog] Exporting from Sent folder
Date: Sat, 7 Jun 2008 12:12:59 +0200
From: Bernd Rose <b.rose.tmpbox@expires-2008-06-30.arcornews.de>
References: <azanzl663stj.dlg@mid.crommatograph.info>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!storethat.news.telefonica.de!telefonica.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.41 (532f4ad1.150.306)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Lines: 24
Organization: Arcor
NNTP-Posting-Date: 07 Jun 2008 12:13:02 CEST
NNTP-Posting-Host: abf75c6b.newsspool1.arcor-online.net
X-Trace: DXC=JmBUP?MljV_YQ5E:l<XC@Sic==]BZ:af^4Fo<]lROoRQ<`=YMgDjhgRoYf<]X8fLdS19JlNQl`::YaHJR2coE\OV>FQ94kb_i][
X-Complaints-To: usenet-abuse@arcor.de