[ANN] mbox packer plugin version 1.10 released
Moderators: Hacker, petermad, Stefan2, white
[ANN] mbox packer plugin version 1.10 released
Hi all,
I'm sorry that it took such a long time from version 1.00 to this new version, but finally I had time to further develop the plugin. Thanks to everyone who gave me feedback about it!
Generally speaking, the main new features are a new naming system for extracted mails, and the ability to change mbox files. So the plugin now is useful for synchronizing mails in different mbox files.
------------------------------------------------------------------------
* changed:
- E-mail headers are now often recognized as such, even when they are syntactically not correct. So mbox files that are not in conformity with the standard are splitted more reliably.
- mbox now locks the mbox files while it reads or writes them, so that other programs can't alter them at the same time.
- In order to create a unique file name, the serial number of the mail in the regarding mbox file is not appended to the subject any more, but a hexadecimal number representing date, time and time zone of the mail is used instead. In the rare cases, when there are nevertheless duplicate names, a serial number in brackets will be added.
- mbox files that do not start with a "From " line will not be opened any more.
- Several internal changes.
- Enhanced documentation.
+ new:
- Support for base64 encoded subjects.
- Support for UTF-8 in subjects.
- Delete selected mails from an mbox file.
- Create new mbox files.
- Add mails to existing mbox files.
- Progress bar for "Test Archiv(e)s".
- Show a message box when the user clicks the [Configure] button from within "Pack files" dialog box.
------------------------------------------------------------------------
Documentation: http://home.arcor.de/luethje/prog/mbox_en.htm
Download: http://home.arcor.de/luethje/prog/index.htm
Please tell me your opionion and suggestions for improvement!
Regards,
Juergen
I'm sorry that it took such a long time from version 1.00 to this new version, but finally I had time to further develop the plugin. Thanks to everyone who gave me feedback about it!
Generally speaking, the main new features are a new naming system for extracted mails, and the ability to change mbox files. So the plugin now is useful for synchronizing mails in different mbox files.
------------------------------------------------------------------------
* changed:
- E-mail headers are now often recognized as such, even when they are syntactically not correct. So mbox files that are not in conformity with the standard are splitted more reliably.
- mbox now locks the mbox files while it reads or writes them, so that other programs can't alter them at the same time.
- In order to create a unique file name, the serial number of the mail in the regarding mbox file is not appended to the subject any more, but a hexadecimal number representing date, time and time zone of the mail is used instead. In the rare cases, when there are nevertheless duplicate names, a serial number in brackets will be added.
- mbox files that do not start with a "From " line will not be opened any more.
- Several internal changes.
- Enhanced documentation.
+ new:
- Support for base64 encoded subjects.
- Support for UTF-8 in subjects.
- Delete selected mails from an mbox file.
- Create new mbox files.
- Add mails to existing mbox files.
- Progress bar for "Test Archiv(e)s".
- Show a message box when the user clicks the [Configure] button from within "Pack files" dialog box.
------------------------------------------------------------------------
Documentation: http://home.arcor.de/luethje/prog/mbox_en.htm
Download: http://home.arcor.de/luethje/prog/index.htm
Please tell me your opionion and suggestions for improvement!
Regards,
Juergen
Last edited by Juergen on 2013-01-22, 16:24 UTC, edited 1 time in total.
My add-ons and plugins for TC: NiftyLink, mbox, Sequences
Thanks for the new version of the plugin.
I use Mozilla Thunderbird 1.06 for reading news. The files it uses have different extensions (usually as the names of the groups), e.g raks.test, raks.installation.
At your documentation page you said: "regardless of the extension this plugin opens every valid mbox file when you press Ctrl + PageDown".
It opens the Thunderbird files only when I change the extension. Does it mean that the files are not valid mbox files or somthing works wrong?
I use Mozilla Thunderbird 1.06 for reading news. The files it uses have different extensions (usually as the names of the groups), e.g raks.test, raks.installation.
At your documentation page you said: "regardless of the extension this plugin opens every valid mbox file when you press Ctrl + PageDown".
It opens the Thunderbird files only when I change the extension. Does it mean that the files are not valid mbox files or somthing works wrong?
Hello djk,
thanks for reporting the problem. I also use Thunderbird (version 1.0.2). On my system I can open all its mail and news files by pressing [Ctrl]+[PageDown], without changing their extension.
It looks as if the plugin considers also your news files as valid mbox files. Otherwise it would not open them, even after changing the extension, but TC would show the message "Error in packed file <filename>!" instead.
I've duplicated the problem on my machine with mbox files that have a size of 0 bytes. I think it makes some sense that the plugin considers them as valid mbox files, so that it can open them, and append new messages to them. But now I've found a bug in the plugin that prevents <Ctrl>+<PageDown> from opening files with a size of 0 bytes.
Do your files also have a size of 0 bytes? Otherwise something special seems to happen here. In this case please post here or send me by e-mail <prog.lue AT arcor.de> the complete first part of such a file, that means all lines up to the first blank line.
Thanks for your feedback.
Regards, Juergen
thanks for reporting the problem. I also use Thunderbird (version 1.0.2). On my system I can open all its mail and news files by pressing [Ctrl]+[PageDown], without changing their extension.
It looks as if the plugin considers also your news files as valid mbox files. Otherwise it would not open them, even after changing the extension, but TC would show the message "Error in packed file <filename>!" instead.
I've duplicated the problem on my machine with mbox files that have a size of 0 bytes. I think it makes some sense that the plugin considers them as valid mbox files, so that it can open them, and append new messages to them. But now I've found a bug in the plugin that prevents <Ctrl>+<PageDown> from opening files with a size of 0 bytes.
Do your files also have a size of 0 bytes? Otherwise something special seems to happen here. In this case please post here or send me by e-mail <prog.lue AT arcor.de> the complete first part of such a file, that means all lines up to the first blank line.
Thanks for your feedback.
Regards, Juergen
My add-ons and plugins for TC: NiftyLink, mbox, Sequences
2Juergen
The files are of course bigger than 0 bytes
I've also tried to open Opera .mbs files and it works correctly but when I've changed their extensions (eg. into .mbsa) it was not able to open them
I don't know why.
I've sent to your mailbox the part of the Thunderbird file. Maybe it will help you.
The files are of course bigger than 0 bytes

I've also tried to open Opera .mbs files and it works correctly but when I've changed their extensions (eg. into .mbsa) it was not able to open them

I've sent to your mailbox the part of the Thunderbird file. Maybe it will help you.
Hi djk,
thanks for your reply and your mail. The part of your mail between the lines is actually a valid mbox file. And when I saved it to a file named "raks.private.r3.kasa" (Thunderbird like naming style), I could open it on my system with [Ctrl]+[PageDown].
It looks to me as if this is not a problem of my plugin itself, but of the whole process that starts when a user presses [Ctrl]+[PageDown]. I don't know the internals of TC, but I think something like the following is happening:
Maybe we neeed some help from Mr. Ghisler (or other TC experts). I'm not sure, but it might be helpful for them to know the versions of TC and Windows we are talking about. My system, where things work as expected, is TC 6.53 on German Windows 98.
Regards, Juergen
thanks for your reply and your mail. The part of your mail between the lines is actually a valid mbox file. And when I saved it to a file named "raks.private.r3.kasa" (Thunderbird like naming style), I could open it on my system with [Ctrl]+[PageDown].
It looks to me as if this is not a problem of my plugin itself, but of the whole process that starts when a user presses [Ctrl]+[PageDown]. I don't know the internals of TC, but I think something like the following is happening:
- a) If the extension of the concerning file is associated with a plugin, this plugin is called directly (the same way as if the user had pressed [Enter] or had double-clicked at the file. Other plugins are not called.
b) If the extension of the concerning file is not associated with any plugin (or the file doesn't have an extension), I assume TC calls the function CanYouHandleThisFile() in one installed packer plugin after the other. When a plugin replies "Yes, I can." then TC tells the plugin: "OK, please open this file.", and does not ask the remaining plugins.
In what order does TC call the packer plugis? Maybe alphabetically, or according to the date of their installation? Is that documented somewhere?
Maybe we neeed some help from Mr. Ghisler (or other TC experts). I'm not sure, but it might be helpful for them to know the versions of TC and Windows we are talking about. My system, where things work as expected, is TC 6.53 on German Windows 98.
Regards, Juergen
My add-ons and plugins for TC: NiftyLink, mbox, Sequences
Thanks for this great plugin
I lost some mails but now I found them and could merge it all together 
Now I just wonder, how can I compare 2 mailboxes? How do I copy a mail from 1 mailbox directly into another mailbox?
A new improvement might be (not sure if your plugin should do so
) but to show the mails formatted instead of plain text.
Regards,
RolandD


Now I just wonder, how can I compare 2 mailboxes? How do I copy a mail from 1 mailbox directly into another mailbox?
A new improvement might be (not sure if your plugin should do so

Regards,
RolandD
Registered user #92105
Usemat=351,%Commander_path%\plugins\wcx\5mat\5mat.wcx
Code: Select all
mat=287,%Commander_path%\plugins\wcx\5mat\5mat.wcx
fig=287,%Commander_path%\plugins\wcx\5mat\5mat.wcx
tbeu
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
Correct. Older plugin versions set the 351 attributes.djk wrote:Maybe one of older version of the plugin set it this way.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
I assume you're using Thunderbird or Mozilla.Botak wrote:Now I just wonder, how can I compare 2 mailboxes? How do I copy a mail from 1 mailbox directly into another mailbox?
Open both mailboxes in your favoured text editor, seach for the mail (maybe the subject or another keyword). Then select the text between first 'from' and the first 'from' of the next mail (here the blue marked text)
Make sure your Mail program is closed.
Copy the text of your mail and paste it to the mailbox you want it in.9D_mh4gNNtcoI-045og</font></td></tr></table></body></html>
From - Fri Mar 18 11:22:47 2005
X-Account-Key: account2
X-UIDL: 65ff3920edb40c03710e93f120034f07
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Return-Path: <apache@mecha.mozilla.org>
X-Flags: 0000
Delivered-To: GMX delivery to stepfahn@gmx.de
Received: (qmail invoked by alias); 18 Mar 2005 10:21:44 -0000
Received: from mecha.mozilla.org (EHLO mecha.mozilla.org) [207.126.111.200]
by mx0.gmx.net (mx023) with SMTP; 18 Mar 2005 11:21:44 +0100
Received: from mecha.mozilla.org (localhost.localdomain [127.0.0.1])
by mecha.mozilla.org (8.12.8/8.12.with ESMTP id j2IALeK2031479
for <stepfahn@gmx.de>; Fri, 18 Mar 2005 02:21:40 -0800
Received: (from apache@localhost)
by mecha.mozilla.org (8.12.8/8.12.8/Submit) id j2IALeMa031477;
Fri, 18 Mar 2005 02:21:40 -0800
Date: Fri, 18 Mar 2005 02:21:40 -0800
Message-Id: <200503181021.j2IALeMa031477@mecha.mozilla.org>
From: bugzilla-daemon@mozilla.org
To: stepfahn@gmx.de
Subject: [Bug 158099] Need names for outgoing SMTP servers (for multiple SMTP users on same server & same port number)
X-Bugzilla-Reason: CC
X-Bugzilla-Product: Core
X-Bugzilla-Component: Networking: SMTP
X-GMX-Antivirus: -1 (not scanned, may not use virus scanner)
X-GMX-Antispam: -2 (not scanned, spam filter disabled)
X-GMX-UID: 2MdRKjgITlIve0NyU2hrSVVGU2poZVnW
https://bugzilla.mozilla.org/show_bug.cgi?id=158099
elmar.ludwig@uos.de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |junk@bbs.darktech.org
------- Additional Comments From elmar.ludwig@uos.de 2005-03-18 02:21 PST -------
*** Bug 286700 has been marked as a duplicate of this bug. ***
--
Configure bugmail: https://bugzilla.mozilla.org/userprefs.cgi?tab=email
From - Tue Apr 05 12:12:36 2005
X-Account-Key: account2
X-UIDL: c07cefe518546e0a4206158dbd3bbd8d
Set the
X-Mozilla-Status: 0000
X-Mozilla-Status2: 00000000
to zero (as shown above). and save the mailbox.
Now if you open your Thunderbird the copied mail will appear in the mailbox and will be shown as 'unread'.
That should do the trick. (Maybe you want only to set all X-Moziila-Status and Status 2 to zero in your old mailbox to let the mails reappear. All deleted mails ar still in the mailbox until you 'Compact this folder').
HTH
sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
2djk:
You are welcome. I'm glad that it now works for you. I'll add some text about this topic to the documentation. Thanks for directing my attention to this important matter.
2Botak:
I'm happy that the plugin helped you to find some mails.
Well, TC probably has far more advanced searching capabilities than any mail client ...
Open one mailbox in the left panel of TC, and the other mailbox in the right panel. Then you can choose from the main menu "Mark" > "Compare directories". You also can manually mark 2 mails in the same or in different panels, and then choose from the main menu "Files" > "Compare by Content...". When you choose "Commands" > "Synchronize Dirs..." you'll get a dialog box that offers several possibilities. Click at the [Compare] button to start the process. Right-clicking at an entry in the list of results shows a context menu with additional options. Please look at TC's help file for more details.
Regards, Juergen
You are welcome. I'm glad that it now works for you. I'll add some text about this topic to the documentation. Thanks for directing my attention to this important matter.
So TC seems to call the plugins in the same order in which they are written in the [PackerPlugins] section of 'wincmd.ini', no?Moreover, it also works ok if I've moved mbox plugin before 5mat.
2Botak:
I'm happy that the plugin helped you to find some mails.

The plugin enables TC to treat mbox files almost in the same way as if they were "directories of mail files".Now I just wonder, how can I compare 2 mailboxes?
Open one mailbox in the left panel of TC, and the other mailbox in the right panel. Then you can choose from the main menu "Mark" > "Compare directories". You also can manually mark 2 mails in the same or in different panels, and then choose from the main menu "Files" > "Compare by Content...". When you choose "Commands" > "Synchronize Dirs..." you'll get a dialog box that offers several possibilities. Click at the [Compare] button to start the process. Right-clicking at an entry in the list of results shows a context menu with additional options. Please look at TC's help file for more details.
Just open one mailbox in the left panel of TC, and the other mailbox in the right panel. Select one or more mails that you want to copy, and press [F5]. If the mail(s) already exist in the target mbox file, TC will ask you whether or not you want to overwrite them. Voilà.How do I copy a mail from 1 mailbox directly into another mailbox?

Regards, Juergen
My add-ons and plugins for TC: NiftyLink, mbox, Sequences
2Botak:
Whoops, sorry. I almost overlooked the last sentence of your post.
Of course I've thought of it myself, but it certainly will not be in the final version 1.10. It might be better to have a separate plugin for this purpose anyway. As far as I am concerned, the main question is how much free time I'll have to do things like that.
Regards, Juergen
Whoops, sorry. I almost overlooked the last sentence of your post.
This would be a completely new game.A new improvement might be (not sure if your plugin should do so) but to show the mails formatted instead of plain text.

Regards, Juergen
My add-ons and plugins for TC: NiftyLink, mbox, Sequences