I am looking to migrate my Mail.app mailboxes to my imap account on my OS X Server. Does anybody know how this is to be done?
Did you try copying the Mailboxes dir from the Nextstep/Openstep machine to a newer Mac and then using Mail.app on the OSX machine to "Import" the Mail? I have no idea if that will work I might give it a test later but if it does convert it to something the newer Mail.app can handle then it's a piece of cake you can just drag and drop it into the Imap account folders you want into and it should work itself out.
I looked quickly at the structure of Mailboxes and it is a mbox hybrid with a mbox file as well as an index and dir for each mail attachment. So it does not look like it will just be something that can be just copied straight.
You might also consider trying to forward the mail to your account. Next used an old sendmail so it should uuencode and push it out. But it will be time consuming for sure.
-Mike
Quote from: "mgtremaine"Did you try copying the Mailboxes dir from the Nextstep/Openstep machine to a newer Mac and then using Mail.app on the OSX machine to "Import" the Mail? I have no idea if that will work I might give it a test later but if it does convert it to something the newer Mail.app can handle then it's a piece of cake you can just drag and drop it into the Imap account folders you want into and it should work itself out.
-Mike
This worked perfectly! Thanks! :D
The whole mailbox structure ended up in the Import mailbox of Mail.app. All attachments nicely decoded.
No why did I not think of that?
Quote from: "gctwnl"This worked perfectly!
Not quite. This gets you all the standard messages, but not the rich messages as these become empty messages because the whole messate is in an .attach folder which then contains index.rtf and more.
That was the bit I was worried about because the other was standard mbox format but the attachment was something else. The must be a way to put them back together. Perhaps something that does uuencode. If I have some time I'll see if I can write something that will glue the bits back together.
-Mike
Quote from: "mgtremaine"That was the bit I was worried about because the other was standard mbox format but the attachment was something else. The must be a way to put them back together. Perhaps something that does uuencode. If I have some time I'll see if I can write something that will glue the bits back together.
-Mike
Apple Mail.app sees the uuencode as just an attachment. This attachment then contains a folder with the index.rtf of the rich text message and more. Basically, what is needed is to stich them together as MIME message which Apple Mail.app understands.