There's a ton of articles on teh interwebz on how to import mail into Apple's Mail.app from KDE's KMail, but I hadn't come across anything on doing the reverse.
It turns out this is insanely simple, just not obvious, especially since it wouldn't work the "official" way.
KMail has some wonderful importers, including one called "Import from OS X Mail". Being the painfully obvious choice, I fired up KMail, clicked "File / Import Messages", chose "Import from OS X Mail" and pointed it to my Mac's Library/Mail/Mailboxes folder. I tried the root level, the mailbox folder itself, then even the subfolder "messages" which contained the actual emails. It never actually worked.
If I ever care to figure out why, I might look into it more, but the following seems to be a foolproof and quick way.
In OS X's Mail.app you can right-click a mail folder and choose "Archive". This seems mis-named to me, since generally I consider "archiving" email to mean you're sending it to an archive and removing it from the folder. Really, this is more of a "backup". Anyway, I digress...
1. Right-click the folder you want to send to KMail
2. Choose "Archive"
3. Point it to a folder. This will create a subfolder with the name of this Mailbox, which will then contain all of the email in an MBOX file.
4. Open KMail
5. Choose "File / Import Messages", choose "Import MBox files"
6. Point it to the mbox file itself that Apple Mail saved.
Voila!
1 comments:
In older versions of Apple mail (2.x, etc) there is no export function, however this method will still work. Highlight the messages you want to migrate (most easily done by opening a mailbox and hitting "select all") and choose "save as" with the fomat RAW. You'll have to add the .mbox extension yourself.
Post a Comment