NOTE: the script changes the files you drop onto it - if you plan on using the mailboxes in Mozilla again, you might want to work on a copy of the files instead of the originals. Here is the script to change all EOL characters to *nix style.
#Mac os x mail archive mailbox how to
Third, you run another AppleScript (an improved version of the one I posted above) which adjusts all the message flags and deletes messages in Mail which should not have been importedįourth, you let Apple know that they should fix this problem (and, by linking here, tell them how to fix it) :-) Second, you use Apple's import function to import the mailboxes (you can use "Other" or "Mozilla" for the import) Additionally, Mail might also import messages which had been deleted in Mozilla beforeįirst, you will have to change all EOLs in all mailboxes to *nix style - I created an AppleScript which takes care of that (in order not to hit the maximum post length here, I will post the script in a separate message). Mozilla stores the message status flags as well as the information whether a message has been deleted in two additional headers (X-Mozilla-Status and X-Mozilla-Status2) - Mail's import ignores those headers and all messages therefore import as unread.
#Mac os x mail archive mailbox mac
Mozilla does not seem to use mbox files according to the relevant RFCs - some older versions of Mozilla seemed to have used Mac end-of-line (EOL) characters instead of the *nix ones (i.e., char(13) instead of char(10)) - some mailbox files might even have a mixture of the two With the help of somebody having these problems (since I have not used Mozilla, I didn't have a testbed myself), I took a look at the problem and came up with a solution. This might be of relevance to Thunderbird: I copied it from a thread in the Apple Users Forums: Your mailbox(es) should appear in the import window and will import into Mail.app.
![mac os x mail archive mailbox mac os x mail archive mailbox](https://www.lifewire.com/thmb/wzYGzVqSK0zE3NE26PkLO9R4Yuw=/1280x800/filters:no_upscale():max_bytes(150000):strip_icc()/001-best-apple-mail-tips-2259749-88502c081b9a4ca9ae4ca8e25b3e27ab.jpg)
![mac os x mail archive mailbox mac os x mail archive mailbox](https://i.pinimg.com/originals/ab/06/ec/ab06ecfe6b788cbc85559e71309374e0.jpg)
![mac os x mail archive mailbox mac os x mail archive mailbox](https://images.techhive.com/images/idge/imported/article/ctw/2014/06/20/os_x_mavericks_archiving_messages_in_apple_mail5-100389030-orig.png)
inbox.sbd, inbox.msf and inbox with no extension. Each mailbox has three pieces to it - i.e.Identify the mailboxes you seek to use in Mail.app. Navigate to ~/Library: Thunderbird: Profiles: your_profile: Mail: Local Folders.I accomplished this task manually by doing the following: No formal tool exists for this that I'm aware of, but users who use Thunderbird may have a need to do this for one reason or another (as I did).