Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-23-2013, 04:33 PM   #1
Registered: Jan 2008
Location: Ashfield, MA
Distribution: Debian 7 "wheezy", Arch, PCLinux, Crunchbang "waldorf"
Posts: 77

Rep: Reputation: 15
Viewer for reading mbox mail files?

Is there a good viewer for reading mbox mail files (as in thunderbird)? Googling for one, the simplest recommendation I found is that any text editor will read an mbox file. That's fine, but practically speaking it is useless for viewing hundreds of emails because the content is buried in huge quantities of communicating and formatting instructions. Also spreadsheet and picture attachments can't be read or identified.

I'd like to examine the messages in old mbox files (i.e., outside the active mail program such as icedove/thunderbird) in the same way that a file manager can list the various files in a directory. Presumably one can copy an old mbox file into icedove to read it, but one does not want to take the risk of messing up one's current active mail.

Or is there a script that could simply list the sender/addressee and title of each message?

Perhaps this question should be in the newbie section.
Old 05-23-2013, 08:05 PM   #2
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,462

Rep: Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118Reputation: 2118
If you don't mind learning some Perl, it has lots of modules for mbox
Old 05-24-2013, 01:56 AM   #3
Registered: Oct 2012
Location: Germany
Distribution: CentOS 6.5
Posts: 51

Rep: Reputation: Disabled
Mbox files can be read with Mutt, at least if it's the mbox format mutt can read. If you have to convert it, this can be done by formail. I haven't found another mbox / maildir reader, but would also be interested.

Maybe KMail can read mbox / maildir also.

formail -ds <sent.mbox >sent-reformatted.mbox
mutt -f sent-reformatted.mbox
formail -ds sh -c 'cat >$FILENO.mail'
Old 05-24-2013, 10:28 AM   #4
Registered: Jan 2008
Location: Ashfield, MA
Distribution: Debian 7 "wheezy", Arch, PCLinux, Crunchbang "waldorf"
Posts: 77

Original Poster
Rep: Reputation: 15
Thanks for the leads.
Old 05-24-2013, 11:23 AM   #5
Senior Member
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 4,369

Rep: Reputation: 995Reputation: 995Reputation: 995Reputation: 995Reputation: 995Reputation: 995Reputation: 995Reputation: 995
You could set up another profile in Thunderbird/Icedove then open the file from that profile?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Evolution mail and mbox files rafitas Linux - Software 1 11-02-2009 12:12 PM
i have recieved my mail by mbox but i dont get my mail by Squirrelmail client prajapati1760 Linux - Server 1 01-07-2008 09:02 AM
Reading/Writing MS Outlook Mail Files GibsonDL Linux - Newbie 2 03-15-2007 03:02 PM
Delete a single E-mail / multiple mbox files mgichoga Debian 0 02-18-2007 08:42 PM
Mail going to user's mbox not /var/spool/mail mazzo Linux - Networking 3 11-29-2006 08:19 PM

All times are GMT -5. The time now is 08:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration