Thread View: news.software.readers
2 messages
2 total messages
Started by Charles Lasitter
Wed, 29 Aug 2007 08:46
[Dialog] msg*.dat files "untouchable"?
Author: Charles Lasitter
Date: Wed, 29 Aug 2007 08:46
Date: Wed, 29 Aug 2007 08:46
37 lines
2571 bytes
2571 bytes
It is not that hard to make some sense of the msg*.dat files, but do we know anything about the .dat, .drt, .idx, etc., files? There is some data in the files I'd love to be able to fix or change if I could. Once I've saved an attachment, I'd often like to delete the attachment, but leave the message in the inbox, as it could have other valuable info. Since I hate HTML email, I'd similarly love to delete that part of a two part message. Suppose you wnated to correct a person's name that was misspelled. If you were to take an editor and do a search / replace to correct the spelling, would Dialog "blow up" and trash everything because relationships had got mixed up with the other Dialog files files? Would it make any difference if the text string being replaced were of identical length? What files (if any) can Dialog reconstruct? I might not care that much if Dialog "forgot" the most recently used sort sequence for a given inbox / folder, or had to re-do scoring actions or what have you. I REALLY wish this was an open source / SOURCEFORGE type of project ... -- CL -> http://tinyurl.com/2zqgly For email correspondence. +----------------------------------------------+ | Charles Lasitter | Address, Mail / Ship: | | 401/728-1987 | 14 Cooke St | | see^tinyurl>4email | Pawtucket RI 02860-6114 | +----------------------------------------------+
Re: [Dialog] msg*.dat files "untouchable"?
Author: Bernd Rose
Date: Sun, 02 Sep 2007 19:51
Date: Sun, 02 Sep 2007 19:51
72 lines
4563 bytes
4563 bytes
On Wed, 29 Aug 2007 04:46:53 -0400, Charles Lasitter wrote: > It is not that hard to make some sense of the msg*.dat files, but do > we know anything about the .dat, .drt, .idx, etc., files? They aren't that complicated, either. If you check for file changes after altering settings or doing any other actions inside the GUI you'll notice consistent alterations. Beside server passwords and the like, nothing is encrypted or packed. I have a fairly complete reference of the files by now... > There is some data in the files I'd love to be able to fix or change > if I could. [Removing attachements / HTML parts] I advise against doing it directly inside the msg*.dat files. Because all messages are stored sequentially, you have to adjust pointers at too many places. You better stay with the solution Oliver Cromm suggested to you a couple of days ago: http://groups.google.de/group/news.software.readers/browse_frm/thread/e433c0d24456bec6/e5356b46411b421c You can first extract the messages to *.mbox, edit those files and re-import the messages to 40tude Dialog. Please note that (apart from the glitches I remarked on in that thread) I noticed another problem with the Ruby script: The msg*.dat files can contain 1Ah chars. That's an EOF for DOS/Windows based text utilities and causes data loss when encountered by the Ruby script. (One of my oldest msg*.dat files even contains a message with an EOF inside one header!) Please drop a note in this thread, if you'll apply the above mentioned method of extracting mails/messages to *.mbox files on a regular basis. In that case we may need to make it a bit more reliable. > Suppose you wnated to correct a person's name that was misspelled. > If you were to take an editor and do a search / replace to correct the > spelling, would Dialog "blow up" and trash everything because > relationships had got mixed up with the other Dialog files files? > Would it make any difference if the text string being replaced were of > identical length? Identical length should be okay. But be carefully when doing it! Be sure to have Dialog closed and keep a backup of your data directory. Different length replacements, OTOH, are not possible. (As long as you don't want to adjust the message pointers within the dependent files as well...) > What files (if any) can Dialog reconstruct? I might not care that > much if Dialog "forgot" the most recently used sort sequence for a > given inbox / folder, or had to re-do scoring actions or what have > you. Apart from *.ini files for non-subscribed groups I wouldn't touch anything else. I haven't tried stripping down the Data directory, myself. But structure and relations of the files and the over-all behavior of 4D suggests only meagre reconstruction capabilities. Nevertheless: After backing up your Data directory you can try deleting several files, yourself. Please report back if you notice anything interesting. > I REALLY wish this was an open source / SOURCEFORGE type > of project ... Hm. Marcus did an awful job, in the first place. I wish he would pick up where he left. Open source would be nice. But I wouldn't bet on stable versions and continuous development. That would be a possibility, but surely no necessity... ;-) Bernd
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads