Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have GMail account set up in Thunderbird 12.0.1 via IMAP. All the emails in it were synchronised to the client long ago. I no longer have access to the GMail account, but the mbox and .msf files are still there in my TB profile. How do I read the emails in those files? The folder pane shows nothing but an empty "Inbox" folder for that account - no emails, no sub-folders.

share|improve this question
    
First of all, back up those files right away before going any further so that they don't inadvertently get erased, Second, What operating system? (This is important because thunderbird has more options for working with locally stored mail on non-Windows operating systems.) –  Stephanie Jun 16 '12 at 10:58
    
Thanks, Stephanie. Windows 7 is my main OS, but I have Ubuntu 10.04 as well. So ideally I'd like to open them in Windows, but Linux is certainly better than nothing. –  EMP Jun 16 '12 at 14:36

3 Answers 3

up vote 5 down vote accepted
+50

The mozillaZine article Importing folders may contain a possible answer.
It dates from July 2011, but may still pertain.

The steps it describes are the following :

  1. Create a new Thunderbird profile without any installed extensions
  2. Download and install the ImportExportTools extension, restart Thunderbird
  3. Use the menu Tools -> ImportExportTools -> import mbox file
  4. Browse to the mbox file and press the Open button. The imported inbox may have a suffix appended to its name for uniqueness.

A second possible procedure is described in the mozillaZine article Manually importing and exporting, which is basically replacing an existing inbox file with the old one. For that to work you should probably use the same version of Thunderbird that created the mbox.

share|improve this answer
    
Thanks, this worked very nicely. I didn't have to create a new profile, just added a new POP account (with dummy server names) to my existing profile and used ImportExportTools to import the mbox files into the new account and I can now read them again. –  EMP Jun 22 '12 at 3:18
    
Thanks for the bounty, but you should also accept the answer (click the "V"). –  harrymc Jun 22 '12 at 5:37
    
Oops, I thought I had. Accepted. –  EMP Jun 22 '12 at 15:26

Like Stephanie said - start off by closing Thunderbird and backing up your profile folder. Since you said that you're using Windows 7, it should be located in "C:\Users\\AppData\Roaming\Thunderbird\Profiles"

Once your profile has been backed up to a safe location you can start to make the changes.

Within your profile folder, you should see two folder: "ImapMail" and "Mail" These are where your IMAP mbox files and your POP/Local folders are kept (respectively).

Go into the "ImapMail" folder and find the folder for the Gmail account that you want the data from. Select the mbox files (ignore the .msf files - these index files will be regenerated the first time you go into the folders again) and copy them into the "Mail\Local Folders" directory in your profile. You can change the filenames if they conflict and they'll show up as the new filenames when you restart Thunderbird.

Restart Thunderbird and you should see your old folders.

share|improve this answer

Its not a 'proper' e mail client (but rather a forensics tool - which is better in this case - its read only for one), but i've had good luck loading the mbox files off a arbitrary thunderbird install on mitec mail viewer - I didn't and still don't know the version of thunderbird the mailbox i had used then was on, and assuming you point it at the right file, it just works. This should give you the ability to read, export and print messages, but not connect to a mail server - which should be good enough for your needs. Its also standalone, and dosen't depend on a specific version of T-Bird being installed - these screenshots were made when i opened the mailbox from a copy of thunderbird 12.01.

Starting up mailviewer shows you a menu where you can select files to open

enter image description here

Select the type and hit the folder icon

enter image description here

Select the file - this should be something without an extention

enter image description here

This opens up a screen similar to any mail client where you can see, search and open your mails. You should also be able to print and export individual mails as eml files as needed, view attachments, and so on.

enter image description here

Mailviewer is freeware, and portable, and probably a heck of a lot easier than installing thunderbird, especially if a specific version is needed. It also won't affect your mailbox files since the software is a viewer, meant for mailbox analysis and recovery, rather than being a mail client.

share|improve this answer
    
Thanks, but Mailviewer didn't work well for me. It only showed 1-2 messages in a folder with thousands of messages and didn't separate the headers from the body, either. So I suspect it failed to parse the mbox files correctly. –  EMP Jun 22 '12 at 3:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.