RBW wrote: > I ran into the problem that this person had when they upgraded > Thunderbird to v1.5.0.4... But their solution is WinDoze based... > > "Also had a corrupt address book in tbird version 1.5.0.4 (20060516). > Installed dawn 5.3 as suggested above, imported backup abook.mab and > re-exported from dawn without any edits. Now all works fine. Thanks for > the tip." > http://forums.mozillazine.org/viewtopic.php?p=2327435& > > > Is there anything like this for Thunderbird under Linux? Basically the > abook.mab file that existed under v1.0.6 is identified as a corrupted > .mab file by the newer version. > > For now I'm doing a grep against the backup of the .mab file to get the > data out when needed...
I've found the format defined as Mozilla Personal Addressbook and Mailnews mork format Wikipedia seems to give a reasonable summary http://en.wikipedia.org/wiki/Mork_(file_format) In that article, I found a perl script mork.pl by Jamie Zawinski (2004), which, after a bit, I did get to produce some ugly output via ./mork.pl -vv ab.mab >ab.out or ./mork.pl -vv -html ab.mab >ab.html I also found a python script that produces some (presumably) ignorable warnings (to stderr), as well as some somewhat similar, but perhaps more workable xml output. This was demork.py http://off.net/~mhoye/moz/demork.py found at http://neon.polkaroo.net/~mhoye/blarg/archives/003166.php I haven't played around with the import, and haven't found much docs (after only a quick look), but maybe it has a wizard interface. Hmmm, from the help, it appears there is a wizard http://opensourcearticles.com/articles/introduction_to_thunderbird_6 but it shows more import format options that I see on mine -- maybe there are additional extensions. The output format seems to be always ldif (perhaps there are output format extensions?). Perhaps one of these may salvage useful parts of a corrupted mab-file. In any case, the file is ASCII (-like), so maybe corrupt files can be butchered-up in an editor? ..jim -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
