Converts Thunderbird MAB files to LDIF for exchange and corruption repair.
Based on:
- Jamie Zawinski's File::Mork code for Perl, kindly packaged by Simon Wistow.
- LDIF specification
- Example LDIF file
- Thunderbird LDIF schema
- Mike Robinson's basic MAB rescue code, which inspired me to try to do better.
Usage:
Install the File::Mork extension, for example using CPAN:
perl -MCPAN -eshell
<answer any prompts for information>
install File::Mork
Run the script on your MAB file, saving the output to an LDIF text file:
perl thunderbird-ldif.pl /path/to/abook.mab.bak
Import that LDIF file into Thunderbird.