I did this for a friend the other night. Actually this is not distro specific and there are good howtos out there, but since there is a bit of old information floating around and it’s so easy, I thought I’d write a brief note here.
Aim: To migrate a user’s mail setup on Outlook to Thunderbird on Linux.
Summary: This is done in two steps. Migrate from Outlook to Thunderbird on Windows, then migrate from Thunderbird on Windows to Thunderbird on Linux.
The first step is fairly straightforward. It’s described in a Mozilla KB article.
- Go into Outlook and compress the folders to speed up migration.
- Set Outlook to work offline so that no new mails will come in.
- Install latest Thunderbird for Windows. If already installed but not used, uninstall the previous version first. You might also want to remove the previous profile before installing. Look for the Mozilla kb article on finding %APPDATA%.
- If you have any Thunderbird addons, uninstall them now.
- Using Thunderbird import the profile (mail, addressbook, etc) from Outlook. Be sure to select the correct variant of Outlook (Express or not).
The second step is where some postings disagree (based on information of various dates I assume):
- Shutdown Outlook and Thunderbird.
- Locate the %APPDATA% directory and the Thunderbird/Profile directory under that.
- There are two things you need to copy over to Linux, the profile.ini file and the profile data directory, which will be some random string followed by .default, e.g. 0e4yp7ea.default. Any copying method that suits you will do, Samba, scp, ftp, USB stick, etc.
- The destination on the Linux side will be $HOME/.thunderbird. Make sure Thunderbird is not running when you copy the files in. Move aside any existing profile.ini.
- Look at profile.ini from Windows Thunderbird, it will be something like this:
[General]
StartWithLastProfile=1
[Profile0]
Name=default
IsRelative=1
Path=Profile/0e4yp7ea.default
Just change that Path line to
Path=0e4yp7ea.default
since it’s now relative to the directory containing profile.ini.
- Start up Thunderbird and it will find the new profile. You may need to do some cleaning up of the folders, but it will all be there. Reinstall any addons, e.g. Lightning.