How to transfer mailboxes from V4 (Sierra) to V3 (El Capitan)

Does anybody know how to transfer mailboxes from the V4 folder (under Sierra) to the V3 folder (under El Capitan)?

When both my desktop and laptop were running El Capitan, I could simply copy the V3 folder from the desktop computer to Go > Library > Mail in the laptop, and then, after I open Mail on the laptop, all I have to do was to "rebuild" all the mailboxes, and all the messages would be there.

I switched to Sierra on my desktop, and now thus have V4 folder, and all the mailboxes are now in a folder within the V4 folder with the long cryptic name. But my laptop is too old to upgrade to Sierra, so I have to continue using El Capitan. I now want to copy and transfer all mailboxes (and all the messages in them) from my desktop to the laptop. When I copy all the mailboxes in the cryptic file in V4 to Library > Mail > Mailboxes on the laptop, something strange happened. First, all the messages were there, even before I rebuilt the mailboxes except for the most recent messages in the last year or so. Then, when I rebuilt the mailboxes, all the messages disappeared, even the ones that were there before the rebuilding.

Does anybody know a foolproof protocol to transfer mailboxes from a Sierra machine (using V4) to an El Capitan machine (using V3)?

Thanks.

L.M.

iMac, macOS Sierra (10.12)

Posted on Nov 17, 2016 6:49 PM

Reply
16 replies

Nov 2, 2017 5:16 PM in response to Brunettin

Locate the correct alphanumeric folder with your local "On My Mac" folders. Put this folder on your Desktop.


You have two options:


1) In Mail under File > Import Mailboxes... select the folder on your Desktop

(note sometimes this imports correctly but occasionally, it will bring it over as they show by size in Library)


2) Use Emailchemy to convert. Select Kind: Apple Mail. It will balk that it's not in the correct location, but it should export. I suggest you select to save as .MBOX File ("standard mbox") In Mail > File > Import Mailboxes > select "Files in mbox format.


3) Identify in the Mail (Sierra would be V4) folder that contains your local folders. (look for outbox). With Mail quit....Put the files inside the alphanumeric folder you dragged over into the current local alphanumeric folder. Next, in MailData, delete the 3 files with Envelope in the name. Open Mail, it will reindex your messages.

Nov 2, 2017 9:50 AM in response to dianeoforegon

If y'all don't mind, I'd like to ask something that it similar in nature to the original thrust of this thread:


As time has since marched on, I have just upgraded--cleanly--to High Sierra from Sierra. To complement my TimeMachine backup I also did a manual backup of the entire system drive. My previous Mail had a nicely arranged archiving system that I'd like to continue in HS but now that it's just sitting on a random hard drive I cannot access the User Library. It remains invisible just as it is on one's system uses the Option key is pressed. No amount of searching reveals it.


I tried doing a TM restore back to the last saved Mail folder before upgrading but the button remained grayed out, leading me to wonder if V4 designation is incompatible with HS?


Will Emailchemy works with this dilemma? I did have subfolders aplenty in my archive, e.g. "Inbox" containing sub-boxes "2016," "2015," etc. Would this indexing transfer?


It did occur to me since my entire old system drive was copied over to this external drive I could restart out of that Sierra system and be able to access the old Mail that way, however the V4 compatibility question remains.


Any help appreciated

Jul 8, 2017 1:49 PM in response to dianeoforegon

I hope this is appropriate to post my question:I recently tried to upgrade my MacBook pro to Sierra and got stuck in the process at a frozen apple icon. i could however tap into the hard drive and copy my mail folder as well as my preference file "com.apple.mail.plist.lockfile". Now I am trying to reinstall this in my new MacBook Pro with Sierra installed. My question. Do I just change the file name v2 for v4 and copy the old data into that dir.? And also do I place the plistfile into preferences? I hope this makes sense.thank you for u for your help

Jul 9, 2017 11:30 AM in response to Mark Van Thillo

Have you used Mail on the new MBP?


If no, do these steps:


Place the V2 folder in Mail.

Open Mail and it will do the upgrade process of moving your data correctly into the V4 folder.

V2 should now only contain MailData folder. You can delete the V2 folder.


If yes, you only need to import the local "On My Mac" folders in MailBoxes folder.


Place the V2 folder on your Desktop.

In Mail, under File in the Menu bar select Import Mailboxes…

Select Apple Mail

Navigate to the V2 folder on your Desktop

Inside V2 look for the Mailboxes folder.

Import.


If you had POP account, you would need to import the other folders. No need to import the folders for IMAP account.


Let me know if there are any questions.

Nov 17, 2016 7:09 PM in response to Lyn Murdock

I did this once from an older OS version to the latest and it worked; it should work the other way around as well. Caution: it is extremely time consuming. Since the file structure is completely different, you cannot copy folders - you have to actually drill down and copy individual emails. Create the same folders on the receiving computer and then copy individual emails and put them in the receiving folder. Open Mail and before trying to open an email, rebuild all of the mailboxes - then try to open one.

Nov 17, 2016 7:17 PM in response to babowa

Thanks for your response, but I'm afraid that is not a realistic solution for me. I have more than a million and half messages accumulated over 20 years, housed in thousands of individual mailboxes. I'm afraid I would need a quicker solution that would allow me to copy mailboxes/folders en masse. The procedure that I explained in my original post worked as long as both computers used El Capitan, but it stopped working when I upgraded the desktop (but not the laptop) to Sierra.

Does anybody have a solution for my problem? I'm thinking it might involve deleting the mailbox TOCs and creating new ones by rebuilding the mailboxes, but I can't find where they are and what to delete.

L.M.

Nov 18, 2016 5:23 AM in response to Lyn Murdock

It worked before because both computers were running the same version and therefore the files/folders were compatible. As you yourself pointed out they are different now - this is why Apple use a different version number.


It is extremely unlikely merely changing the version number in the folder name and copying them would work otherwise there would be no reason for Apple to have used a different version number. If you do remove the magic files leaving just the emails then Mail is likely not going to recognise them as valid.


An option you have already I believe discounted is to in Sierra export as MBOX files, these can then be imported on the El Capitan machine. While this is far less work than doing each email individually with the quantity of folders and messages you describe it is still going to be a lot of work but at least this is an officially recommend solution by Apple.


Something else to consider would be upgrading the El Capitan Mac to Sierra then once again both will be using the same version and hence be compatible. However I am guessing maybe your El Capitan Mac is not Sierra compatible.


Since you say the desktop was upgraded to Sierra it obviously used to run El Capitan, a backup from that period would still have the old v3 folder which you could copy.


I do not see why you would want to copy all the emails again, clearly you have previously done this so why do you need to do this again? If only some 'new' emails need transferring then just export those rather than redoing the whole lot. Also this is what IMAP is for - that is using the same email account on more than one device and both devices then sync to the same copies on the server.

Nov 18, 2016 3:21 PM in response to Lyn Murdock

Are the folders you want to open in El Capitan Mail V3 your local "On My Mac" folders?


The easiest way to do this is with a third party app. Emailchemy $29.95

Has a demo you can try first. It will put a watermark on each email during the demo. You will have to run again to get "clean" emails.


http://www.weirdkid.com/products/emailchemy/


Use Emailchemy to export your Apple Mail folder in Sierra as regular .mbox files.

User uploaded file

Select your Mail folder in your User's Library.

User uploaded file


Select to Save as MBOX file ('standard mbox")

User uploaded file


Revert to El Capitan with only your accounts added. Let it sync.

Under File > Import Mailboxes...

Select files in mbox format.

Your folders will come in to the local folders under Import. Drag out of Import to organize.


User uploaded file

Nov 19, 2016 2:43 PM in response to dianeoforegon

Dear John Lockwood and Diane of Oregon:

Thank you so much for your responses. Following various ideas you suggested, I was able to import mailboxes to my laptop running El Capitan. I didn't even have to export it from Apple Mail on my iMac running Sierra. I simply transferred all the mailboxes (the "xxx.mbox" files) to the laptop and imported them to the Mail on the laptop running El Capitan.

However (and this is a BIG however), it only works with unstructured mailboxes that do not have further mailboxes inside. Most of my mailboxes are nested. For example, all the email messages from a given person is stored in a mailbox under that person's name, then each person is nested under either "Friends," "Family," "Colleagues," or "Client," and, in the case of "Clients," further by which company I was working for when I exchanged the messages.

For these nested mailboxes, "importing" them didn't work. For example, if I try to import the "Clients" mailbox, specifying that it was data from "Apple Mail" (see Diane's embedded graphics), then Mail would say, instantaneously, the importing has been completed, but none of the mailboxes, even at the highest level of "Clients," has been imported. If I choose "Apple Mail" as the data source, I cannot click on the nesting mailboxes in the dialog box to dig deeper to the lower level of mailboxes.

If I choose "files in .mobx format," I can click on the nesting mailbox to get to and select lower-level mailboxes, but when I try to import them, I always get an error message and cannot complete the importing action.

So, now that I know "importing" partially solves the problem, my new question is: Does anybody know how to import nested mailboxes?

L.M.

Nov 20, 2016 9:26 PM in response to Lyn Murdock

The proper way is to export your mail data as Apple mbox files rather than trying to import the files in the ~/Library/Mail folder. Sometimes it works but other times you get a strange folder structure.


An alternative if you have Time Machine is to restore from Time Machine. That would get all your nested folders.


Using Emailchemy gets all the nested folders.


Note: there are different kinds of .mbox files. An Apple .mbox file is not the same as a standard .mbox. In addition some apps are limited to a 2GB .mbox file and others have unlimited. Emailchemy has unlimited.


When you select to import data that is in the ~/Library/Mail folder you select Apple .mbox files.

Nov 19, 2016 3:03 PM in response to dianeoforegon

The changes from V2 > V3 > V4 are a reflection of a different version of the SQLite database used by Mail. This gives us better performance. It's the upgrade process that is troublesome.


Apple's Mail application stores extensive information in SQLite, including e-mail addresses and message data. The database is located at /Users/account name/Library/Mail/Envelope Index


If you started with a clean Sierra Mail install and added IMAP accounts all messages and folders would download into the new index. However if you have POP accounts or store data under "On My Mac", you would need to export first as Apple .mbox files THEN import that data into your new clean Sierra Mail index.

Nov 20, 2016 9:34 PM in response to dianeoforegon

Dear Diane of Oregon:

I followed your recommendation, exported all of my mailboxes on my iMac running Sierra, and then imported them on my laptop running El Capitan. Everything went perfectly.

And the whole process was remarkably quick and painless. Part of the reason (and I don't understand why this happens) is that the total size of all of the exported mailboxes were about 1.5GB, when the V3 file that I used to copy and then transfer to the laptop was about 16GB. First, when I noticed the very small size of all the mailboxes, I had feared that it meant that the attachments won't be transferred, but then later discovered that they were. So I don't understand why the V3 file was 10 times as large as all the mailboxes and attachments combined.

But I can live with the mystery. Thank you so much for teaching me such an efficient way of transferring mailboxes between machines!

L.M.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to transfer mailboxes from V4 (Sierra) to V3 (El Capitan)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.