Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Import local Apple Mail.app messages (.emlx) into mutt [closed]

I am a mutt newbie, but am learning steadily, highly encouraged by its speed of searching and message display. I use mutt to read email from two Gmail IMAP accounts, and I cache the headers on my disk in ~/.mutt/cache/hcache and message bodies in ~/.mutt/cache/bodies/.

I have a few years of mail I downloaded via Apple Mail.app that are stored in ~/Library/Mail/Mailboxes/.mbox/Messages/ where is 2000 .. 2010. All these messages have .emlx extension. How do I transfer these messages to my mutt store so I can read and search them via mutt?

like image 947
punkish Avatar asked Feb 22 '11 00:02

punkish


People also ask

Does Apple Mail save emails locally?

Apple mail is an email management application published by Apple. The application is installed directly on machines running the macOS operating system. This mail management software allows you to archive them locally on your personal Mac.

How do I save emails from Mac Mail to hard drive?

You can save email messages as files to use in other apps or as PDFs. In the Mail app on your Mac, select one or more messages or email conversations. Choose how you want to save the messages. Save messages as files: Choose File > Save As, then choose a format.


1 Answers

From within mail.app, right-click on the folder you want to load in Mutt, and select "Archive Mailbox" The archive is stored in mbox format, which mutt will open just fine.

to open the .mbox file in mutt, use 'c' to change-folder and browse to your .mbox file. From there, tag all messages and save tagged with ';s'. Browse to your mutt store and save them there. Mutt will prompt you to append the messages to the store.

like image 176
Ben Tucker Avatar answered Nov 26 '22 01:11

Ben Tucker