How to transfer mailboxes (in V3 file) without rebuilding mailboxes every time

I use two iMacs (main one at home and secondary one in office), and I need occasionally to transfer mailboxes from the main iMac to the secondary iMac. Before El Capitan, all I had to do was copy the V2 file from the Library of the main computer and transfer it to the Library of the secondary computer. That was it, and when I opened Mail on the secondary computer, all the messages from the main computer were there.


When we switched from Yosemite to El Capitan, the mailboxes were transferred from V2 file to V3 file in the Library. When I copy the V3 file from the main computer to the secondary computer, the messages don't automatically appear as they had under Yosemite. All the mailboxes are there, but they are all empty. I have to rebuild each and every mailbox in order for the messages to appear. Because I (literally) have tens of thousands of messages stored in hundred of mailboxes, it takes a very long time (a few hours) whenever I copy the mailboxes every week.


I'm wondering if anyone knows of a way for me to transfer the mailboxes and messages in V3 without having to rebuild the mailboxes every time. Why is it necessary to rebuild mailboxes on El Capitan but not on Yosemite?


I'd appreciate any help and suggestions. Thanks!


Lyn Murdock

iMac, OS X El Capitan (10.11)

Posted on Nov 11, 2015 6:47 PM

Reply
13 replies

Nov 11, 2015 9:21 PM in response to Glenn Leblanc

I'm afraid that Mail on the two computers cannot by synched that way, because all the incoming messages are immediately downloaded on the local hard drive and not kept online in the "inbox." Believe me, transferring the V3 file is the only way that I know to make sure that I have all the same messages (from the past 20 years) on both computers. I just need to know how I can avoid having to "rebuild" each and every mailbox every time I do that. By the way, I don't transfer mailboxes back and forth. I only transfer it forth (from the main computer to the secondary computer), never from the secondary computer to the main computer.

Nov 12, 2015 4:49 AM in response to Lyn Murdock

What you are doing isn't good and you will continue to have problems. I don't know what to tell you to avoid the problems you are having in doing that. If you feel you have to do it in that fashion, export the mailbox from one and import it on the other computer.


There are much better ways to accomplish what you want.

From your description, you are using a POP account. In Mail's preferences, open the Accounts tab and select the account in the sidebar. Click on the Advanced tab and either uncheck the box to delete the message from the server after downloading, or set a time frame such as a month to delete to ensure you have time to download the message on the other computer. You will need to do this on both computers, or at least the one you download messages first on to ensure they stay on the server for the other device. They will be downloaded to each device as new until removed from the server.

Settings should be similar to this:

User uploaded file


As I said before, a better option is to change the account from POP to IMAP. With IMAP, each device is synced and reflects what's on the server. Delete a message on one will delete from the server and will be synced to the other device automatically. Syncing messages between more than one device is the major benefit of IMAP. You can set most mail accounts either way.

Dec 6, 2015 10:42 AM in response to Lyn Murdock

This sounds familiar to my problem, which is unresolved. I have a work computer and a notebook for when I travel. I like to keep all of my mail with me because I use it as a searchable database.


I do have an imap account but I do have folders "on my mac' which I move things to, since the amount of email I've accumulated over the years is about 28GB of data (yes, a lot of email going back to 2010.


In previous OSX versions (everything up to El Capitan) I would simply grab the mail forlder and mail download folder and replace it on my notebook and everything woudl be there.


At one point in Yosemite, the com.apple.mail.plist file was necessary to move from the preferences folder, but that file no longer exists there anymore.


I desperately want to preserve my workflow so I can continue to keep all my mail with me when I travel, then move everything back when I'm back int he office - I would really, really appreciate any help here to do this.


iMac:

10.11.1

27", Mid 211

3.4GHz i&

16GB, 1TB HD


macbook Air

10.11.1

13" early 2014

1.7GHz core i7

8GB, 512GB SSD


User uploaded file

Dec 6, 2015 2:34 PM in response to Unickow

It's been nearly a month, but I still have not found a solution to this problem yet. My mailboxs are also 15GB large, having saved all the messages since 1994 (from the days of Eudora)!


The good news is that, as long as you are willing to transfer the V3 file, and the patiently rebuild each and every mailbox, it does seem to work and you can transfer all of your mailboxes (and all the messaged contained therein). Eventually. It's just that it's so time consuming.


One correction: You no longer have to transfer the "mail download" folder. It is no longer used, and all the downloads (mail attachments) are now part of the mailboxes. If you check the dates of the files in the mail download folder, you will notice that the latest one was dated 2013.

Dec 6, 2015 5:59 PM in response to Lyn Murdock

I really do appreciate you taking the time to reassure me. Don't know if it will work for subfolders within a folder, but the bottom line really is - this is not a viable solution.


Before El Capitan, this was a process of replacing a folder on one computer with one from another, maybe an hour to let them do their job. This would become a task that would take days and be out of date by the time it was done.


There must be another way.

Dec 27, 2015 8:20 AM in response to Unickow

I have been using Chronosync to sync my mail on a home Mac and Macbook Air. This has been working flawlessly for years.

This mail issue is by far not the only havoc that "El Capitan" has wreaked upon us (Airdrop, server SSL chain issues, mail account settings etc. etc.)

Since the update from Yosemite to 10.11.2 I have been spending days to fix Macs and a server and as soon as I thought I was done another issue appeared.

One may really wonder what the Apple software engineers are doing. We don't need a new update every 2 months. Get one update right, Apple ! Just one for God's sake.

Thank you !

Dec 27, 2015 6:21 PM in response to Twistan

I found the following simple work-around that will rebuild ALL your mailboxes in one fell swoop:


"Quit Mail, then delete all the files in this folder that start with "Envelope Index." On Yosemite that will be three (3) files (Envelope Index, Envelope Index-shm, and Envelope Index-wal); on older versions of OS X it may be simply one file. Once deleted, relaunch Mail and the file(s) will be rebuilt, along with your mailboxes."


Source: http://www.macobserver.com/tmo/answers/how_to_clean_up_and_rebuild_apple_mail_da ta


The same three envelope files exist in 10.11.2 and deleteting them caused Mail to re-build all mailboxes. This may take a while and in the beginning Mail may show a wrong unread count.


No wonder that Windows users are sniffing at “El Capitan” and call it “El Capron” when they hear of such issues.

I am a network and server admin and I have more important tasks at hand than to find work-arounds for buggy OSX updates.

Not amused.

Dec 27, 2015 7:11 PM in response to Twistan

I found the following simple work-around that will rebuild ALL your mailboxes in one fell swoop:


"Quit Mail, then delete all the files in this folder that start with "Envelope Index." On Yosemite that will be three (3) files (Envelope Index, Envelope Index-shm, and Envelope Index-wal); on older versions of OS X it may be simply one file. Once deleted, relaunch Mail and the file(s) will be rebuilt, along with your mailboxes."


Source: http://www.macobserver.com/tmo/answers/how_to_clean_up_and_rebuild_apple_mail_da ta


The same three envelope files exist in 10.11.2 and deleteting them caused Mail to re-build all mailboxes. This may take a while and in the beginning Mail may show a wrong unread count.


No wonder if Windows users are sniffing at “El Capitan” and call it “El ******” when they hear of such issues.

I am a network and serve admin and I have more important tasks at hand than to find work-arounds for buggy OSX updates.

Not amused.

Jan 11, 2016 4:19 AM in response to suurimonster

A few days ago I did a full sync of my home folder to my MB Air using Chronosync (although just manually copying the home folder should work just as well.) This time my mail folders did *not* need to be re-build.

Drawback: after the sync which included the entire ~/library/ directory a few accounts on the target Mac did not work anymore (mail, calendar, contacts) and I had to recreate them. As the keychain and other folders are replaced on the target this may not be an option if the target Mac uses other apps than the source Mac.

There must be one or more files in ~/library that save the "state" of each mail folder but that are not located inside ~/library/mail.

If these files were known they could be synced together with ~/library/mail.


There may also be a new setting in the mail app relevant to POP accounts that has eluded us.

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 (in V3 file) without rebuilding mailboxes every time

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