Transform the mail folder tree of MacOSX Mail.app mail client to the format used by Thunderbird


This is only for Mail.app before version 2 i.e, before MacOSX Tiger (10.4). With MacOSX Tiger comes Mail.app 2.x which uses a different mail box format with a file for it's own for every single mail.

As the open and free email client software Thunderbird has no integrated import function for mail stored with MacOSX' own email client Mail.app I wrote a small perl script which does the needed transformations.

The script is written to be run in a Terminal window. Calling the script with the --help option:

./mail.app2mbox.pl --help

prints out a short description:

mail.app2mbox.pl recursively walks through a MacOSX Mail.app < 2.0
mail folder tree and constructs a new folder tree which may be hooked
into Thunderbird mail client.
usage: mail.app2mbox.pl [options] <mail.app dir> <output dir>
options:
  -h, --help            print this help text.
  -v, --verbose         be verbose on what's going on. May be given more
                        than once (2) to increase level of verbosity.
  -V, --version         print version.
      

A typical call to the transformation script would be:

./mail.app2mbox.pl -v -v ~/Library/Mail ~/tmp/Mail.translated  

The transformation script is released under the terms of GPL (Gnu Public License) and may be downloaded here.

line
linux logo HOME Powered by Apache
line
This site maintained by:
lukas.zimmermann@unibas.ch
My public PGP key
last updated: 2006-09-05 Valid CSS! Valid XHTML 1.0 Strict