LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

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
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,269

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
If you don't mind learning some Perl, it has lots of modules for mbox http://search.cpan.org/search?query=mbox&mode=all
 
Old 05-24-2013, 01:56 AM   #3
tux111
Member
 
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.

Code:
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
hilltownboy
Member
 
Registered: Jan 2008
Location: Ashfield, MA
Distribution: Debian 7 "wheezy", Arch, PCLinux, Crunchbang "waldorf"
Posts: 71

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

Rep: Reputation: 782Reputation: 782Reputation: 782Reputation: 782Reputation: 782Reputation: 782Reputation: 782
You could set up another profile in Thunderbird/Icedove then open the file from that profile?
https://support.mozillamessaging.com...tiple-profiles
 
  


Reply


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 02:55 AM.

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