Importing and exporting your mailFrom MozillaZine Knowledge Base
[edit] IntroductionTo import your e-mail and settings from the most common e-mail software programs, just click "Tools -> Import" in Thunderbird or SeaMonkey's mail component. Thunderbird, Netscape, Mozilla Suite and SeaMonkey use Mbox files to store the messages for a folder. The ImportExportTools extension can import and export Mbox and .EML files. Many email clients use Mbox files (regardless of whether they use no file extension, .mbx or .mbox as the file extension) to store messages or provide a way to export folders as Mbox or .EML files due to the popularity of Eudora and Outlook Express. Sometimes email clients use "Unix format" to refer to a Mbox file since the format was originally developed for Unix systems. No matter how you import or export your e-mail its a good idea to back up your e-mail first in case something unexpected happens. [edit] Specific programsAmerica Online (AOL)
Older versions of Apple OS X Mail.app
Apple OS X Mail.app
Apple iPod (contacts and calendar only) Calypso
Courier (Rose City)
Eudora Eudora is no longer being sold by Qualcomm. They have created a open source version based on Thunderbird. See this article for more information. Entourage
Google Gmail
Incredimail MH, mh-e, nmh, xmh, exmh The MH e-mail client and is descendants store each message in a seperate file using the MH (Message Handler) format. The e-mail client is made up of several programs. Use packf to convert all of the messages in each directory into a mbox file, and copy it to the local folders directory in your Thunderbird profile. For example, if you have a folder called SAVED the following command will create a mbox file called "SAVED_mbox." that contains all the emails from your SAVED directory.
Mozilla Suite and Netscape 7 Outlook and Outlook Express Pegasus PMM 2000
The Bat!
Webmail (including Google Gmail, MSN Hotmail, Netscape Mail, or Yahoo)
Windows mail (Vista)
[edit] Migrating messages using a mail serverUsing an extension to put your Thunderbird messages back on the POP server Another way to export your messages would be to follow the instructions in Putting messages back on a POP3 server to upload your messages back to your POP3 server. You could then download them normally with another email client. They will have normal headers, it would not look like you had forwarded the messages to yourself. Using IMAP remote folders as an intermediary If you have problems migrating messages you might consider creating a temporary IMAP account to help move them. This web site lists many IMAP email providers, some of whom offer free accounts. Or you could sign up for a free 2GB IMAP account at www.aim.com and use these instructions to create an AIM IMAP account in Thunderbird. IMAP supports remote folders (on the mail server) that you can access just like they're local folders. You can copy/move messages to/from them, even drag and drop the messages. Create an IMAP account for it in both email clients. Then copy your messages to a remote inbox folder using one email client and then copy them from the remote inbox folder to a local folder using the other email client. If you have more messages than can fit in 250MB do it in several steps, deleting the messages in the remote inbox and compacting that folder as needed to free up more space. There are a few email clients whose IMAP support is crippled, and don't support uploading messages. But most popular email clients (Eudora, Outlook, Outlook Express, Pegasus, Thunderbird etc. ) do. You could also temporarily install a local IMAP server to avoid sending the messages over the network. hMailServer is an open source IMAP server for Windows thats easy to install. Use Gmail Loader to load MailDir, MH and several other unsupported mail formats The Gmail Loader reads messages from your existing mail files and forwards them to either the Inbox or Sent Mail folder in a Gmail account. It supports Mbox (what Mozilla uses), MailDir (Qmail, others), MMDF (Mutt), MH (NMH), and Babyl (Emacs RMAIL) formats. It's not clear yet whether it hides the fact that the message is forwarded, but it does eliminate the grunt work of individually forwarding all of your messages. You could sign up for a free Gmail account (invitations aren't required anymore), and upload the messages, configure Thunderbird to use Gmail, and then download your messages as new mail. The program is written in Python and supports Windows, Linux and OSX. However, you do not need to install Python if you're using it with Windows. [edit] Miscellaneous
[edit] Mbox filesThere are four main versions of the Mbox format. Thunderbird, Netscape , Mozilla Suite and SeaMonkey use a slightly modified version of the mboxrd variant of this format. Eudora uses a slightly modified version of the mboxo variant. Most Windows email clients that use Mbox files will use an mboxo or mboxrd version, and you should have little trouble importing them. Under Linux you're more likely to run into an mboxcl or mboxcl2 version, which is incompatible. Both Kmail and Evolution use a compatible version. You might try migrating your messages to Kmail as an intermediate step since it supports importing numerous formats. See the following links for more technical information about this format:
[edit] Manually importing and exportingUnless you are an advanced user its generally preferable to use an application to import or export a folder since that typically sanitizes the file to minimize any incompatibilities. If you use IMAP's optional offline mode to create a local copy of remote folders, think ahead about how you will deal with any potential synchronization issues. To manually import/export Mbox formatted files:
Troubleshooting is beyond the scope of this article, but if you examine the Mbox technical links and the links to importing specific programs, you may find helpful information. |
|