Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!

10.4: Export Mail to mbox with Save As... Apps
Mail for Mac OS X 10.4 stores messages in individual elmx files instead of a single mbox file. This allows Spotlight to index individual messages, but makes it harder to move your mail to other mail clients like Thunderbird.

Two existing hints (A script to export Mail's mboxes for Thunderbird and 10.4: Export Mail messages to Thunderbird, revisited) seem to imply that you need a script or application to easily create an mbox file. However Mail (I'm using Version 2.1 on 10.4.7) does know how to create mbox files -- it just doesn't use the term Export.
  1. Select the messages you want in the mbox file. (Press Command-A to export the whole folder.)
  2. Go to the File menu and select Save As...
  3. Enter a filename for your mbox file. The default filename is the Subject of the first message, but this doesn't mean you'll be saving each message individually.
  4. Select where you want the file saved.
  5. Select Format: Raw Message Source
  6. Save.
The result is a file in mbox format, complete with MIME attachments, that you can import into other mail clients.

The only drawback is that Mail stores message status (Read, Unread) separate from the elmx files, and it won't create X-Status headers when exporting to mbox. This means that all messages appeared to be unread when I import them into Thunderbird.
    •    
  • Currently 3.33 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[80,400 views]  

10.4: Export Mail to mbox with Save As... | 10 comments | Create New Account
Click here to return to the '10.4: Export Mail to mbox with Save As...' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
10.4: Export Mail to mbox with Save As...
Authored by: derekJAB on Mon, Jul 10 2006 at 7:58AM PDT
Great tip. Thanks. A lot of Opera users will be delighted they can actually import their stuff from Apple Mail.

[ Reply to This | # ]
Read, Unread Status
Authored by: timgaden on Mon, Jul 10 2006 at 3:48PM PDT
You can preserve the read and unread flags on these emails by using Andreas Amann's Archive Script, part of his first rate Mail Scripts collection:

http://homepage.mac.com/aamann/Mail_Scripts.html

[ Reply to This | # ]
Ironic
Authored by: ret on Tue, Jul 11 2006 at 10:41PM PDT
One of Mark Pilgrim's biggest gripes in his recent (and somewhat noisy) switch to Ubuntu was the fact that Mail stopped using mbox format. Seems a method for converting back was staring us all in the face the whole time.

cheers
RET

---
perl -e \'require Signature.pm; srand; printf STDOUT \"%s\\n\", $Signature[rand @Signature];\'

[ Reply to This | # ]
10.4: Export Mail to mbox with Save As...
Authored by: stewartj on Thu, Jul 13 2006 at 7:24PM PDT
Except it doesn't work as you say -- it's broken (it doesn't export standard mbox files).

http://diveintomark.org/archives/2006/07/13/mail-checks-in

[ Reply to This | # ]
10.4: Export Mail to mbox with Save As...
Authored by: mankoff on Mon, Aug 13 2007 at 1:51PM PDT
Works for me now (I think)... Perhaps there has been a bug fix since this post.

---
http://spacebit.dyndns.org

[ Reply to This | # ]
10.4: Export Mail to mbox with Save As...
Authored by: Hamid on Fri, Jul 14 2006 at 10:36AM PDT
You can use Mailbox Converter:

http://vengefulcow.com/emlx2mbox/

[ Reply to This | # ]
10.4: Export Mail to mbox with Save As...
Authored by: apoc_metal on Tue, Jan 9 2007 at 8:54PM PST
could one write a script that wrote these headers into the message source as it exported them? Would it be worth the time and effort?

---
http://sidetracked.deviantart.com

[ Reply to This | # ]
10.4: Export Mail to mbox with Save As...
Authored by: apoc_metal on Tue, Jan 9 2007 at 9:00PM PST
Ah, nevermind... I saw the comment above :-D
http://homepage.mac.com/aamann/Mail_Scripts.html

---
http://sidetracked.deviantart.com

[ Reply to This | # ]

10.4: Export Mail to mbox with Save As...
Authored by: SPB on Tue, Jan 22 2008 at 8:40AM PST
Well I want to thank you for illuminating this for me, worked perfectly to a file and imports just fine into Evolution on my Ubuntu box.

[ Reply to This | # ]
10.4: Export Mail to mbox with Save As...
Authored by: VicDiesel on Tue, Feb 5 2008 at 8:33AM PST
And 2 years after this was posted it's still broken. From lines are not handled right.

Ok, it's not broken: it exports Raw Source, which is not the same as mbox format.

Victor.

[ Reply to This | # ]