How to open/browse an mbox file?

Specifically an Apple Mail .mbox file. I'm looking for a way to browse the emails it contains short of just importing it back into Apple Mail and cluttering up my currents emails.

I don't mind having to convert the mbox file to something else if need be.

A command line tool is also fine (preferred even).

Many thanks if anyone can help!


OS X, like most Unix and Linux variants, has the command-line mail and mailx clients.

You can see if they will read your .mbox file. They do use mbox as one of the filenames they handle.

mail -f ~/.mbox

Use the x command to exit without changing the file.


I might create a secondary user and import your file there... Easy-peasy browsing without cluttering up your account.