
You can run this script either directly from the Script Editor (make sure not to show the "Event Log" in the bottom pane since this will significantly slow down its operation) or save it as an application and run it by double-clicking. Set theFolder to choose folder with prompt "Please choose the folder containing your mailbox files"ĭisplay dialog "Conversion finished" buttons then set was forwarded of eachMsg to true - 0x1000

Select all the text inside the gray box and create a new AppleScript from it (use the "Services ? Apple Script ? Make New AppleScript" menu entry in the application menu (which currently most probably says "Safari"): 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.
#Thunderbird mac os x 10.4 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. 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.

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).
