How can I transform an .mbox-file so that I can read it?

Hi there,
As I've got quite the same accident as another user (loosing my whole emails by deleting a MAIL-account), I followed the suggestion to buy DataRescue and to recover my mails. I did so, and recovered a folder named MAIL. In this folder there are 22 files with an .mbox extension. What can I do with them? Is there a way I can read them? If so, how - with which application?

Thanks and best regards,

ibook G4, Mac OS X (10.4.5)

Posted on Mar 24, 2006 1:33 PM

Reply
Question marked as Top-ranking reply

Posted on Mar 24, 2006 2:07 PM

The first method I would try, with a single xxxx.mbox file, is to open this as folder, and find what is inside, which may include another document style file named mbox. If found, then Control-click over over this mbox file, and chose other, and navigate to use TextEdit from the list of applications. If you can read, and discern it has email messages, then you can move on to Importing each xxxx.mbox from within Mail. To try this, click on File, and then Import -- choose Other as the type, and continue to import.

However, were you to find a Messages folder within any xxxxx.mbox folder, then import as type OSX.

More info, please.

Ernie
12 replies
Question marked as Top-ranking reply

Mar 24, 2006 2:07 PM in response to veuve73

The first method I would try, with a single xxxx.mbox file, is to open this as folder, and find what is inside, which may include another document style file named mbox. If found, then Control-click over over this mbox file, and chose other, and navigate to use TextEdit from the list of applications. If you can read, and discern it has email messages, then you can move on to Importing each xxxx.mbox from within Mail. To try this, click on File, and then Import -- choose Other as the type, and continue to import.

However, were you to find a Messages folder within any xxxxx.mbox folder, then import as type OSX.

More info, please.

Ernie

Mar 24, 2006 7:53 PM in response to veuve73

Greetings veuve73,

A small note of caution, to properly open xxx.mbox files (which are usually folders in reality) you cannot simply double click as you would other folders, if they appear with the Mailbox icon. Instead, you must right click (control-click) on the xxx.mbox file and choose to view the package contents (Show Package Contents, I believe). This will open that xxx.mbox files so you can search for an actual text file named "mbox" or a folder named "Messages".

What you find depends on which version of Mail originally created these files and therefore changes how they can be imported.

Finally, work on copies of these files at all times, as they likely contain the data you want, but you do not need to loose the data a second time. 🙂

-travis n

Mar 24, 2006 2:55 PM in response to veuve73

OK, try this with one of them, since it appears they might only be what would be expected in a mbox file, but misnamed: Duplicate one of these, and drag the copy into a new, normal new folder on your Desktop. Once in this folder, rename to be simply mbox, and nothing more. Next, rename the new folder, xxxx, that you placed it in, to be xxxx.mbox -- target this xxxx.mbox folder with Import, using type Other.

However, you must be prepared for the possibility that these files are corrupted in some manner, and not be usable for import. However, you may be able to now open the renamed mbox file with TextEdit.

Keep me posted.

Ernie

Mar 25, 2006 10:48 PM in response to veuve73

Greetings veuve73,

If you wish, I would be happy to examine one of these files that you restored. You can email it to me as an attachment. Please send the file in its original form before any modifications noted in this thread.

Alternatively, you may mount and place the file in the Public folder of my iDisk. fizikci is my .Mac name and email address.

-travis n

Mar 24, 2006 1:58 PM in response to Ernie Stamper

Hi,

All the files appear in a folder named APPLE MAIL (a blue folder). The .mbox-files appear as an doc-type-icon (in shape of an US-Mail-Box). They all have quite the same name from "Mail-00001.mbox" to "Mail-00022.mbox". There are 22 icons like this with different sizes from 128kb to 115 MB. I tried already to drag and drop them into the inbox but with no success.
There were 485 mails in my inbox.

Thanks for your help,

Mar 24, 2006 2:42 PM in response to Ernie Stamper

When I opened it (I clicked on the US-Mail-box-icon) it opened with MAIL.app. MAIL.app opended a "new message" window ... and my "Mail-00001.mbox"-file appeared as an attachment. When I doubleclicked on the attachment, a 'new message" window appeared again.

I tried also to open the file with TextEdit. There was like a lot of "programmation-language", no concret, comprehensible text.

Drag&drop didn't work either.

What can i give you more on info?

Mar 24, 2006 6:03 PM in response to Ernie Stamper

The curious thing is, that in folder it has 332 Kb and when opening it, and when it is shown as attachment it has only 328 Kb left.

I had Apple Care on phone who didn't know what to do, accept delete the system and reinstall it. Sincerely, that,s not the thing I want to think about ... otherwise I could have staid with windows ... passing my week-end reinstalling the system. 😉

Did that ever happen to you, that MAIL.app refused to connect with an smtp-server?

Mar 25, 2006 12:12 PM in response to Fizikci

Hi travis,

Tried your solution, but there is no way to see the content of this file. There is only the possibility to "read the information" - that gives you the info about type of file and the size.

It makes me just mad, not being able to send any mail and having lost all my stuff. But apparently I,m not the only one. I just wondered, if there's something true about the rumor, APPLE did that on purpose to make people using .mac accounts ... because they in general have no problems sending mails.

best regards,
veuve

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How can I transform an .mbox-file so that I can read it?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.