mail box rebuild disk space

El Cap, Current.

My virus SW (ClamAV) deleted an infected file from an email. I can't delete what remains. Clam said rebuild mailbox. Does not solve problem.


I've rebuilt the mailbox twice now and my available disk space has gone from 215GB to 198GB. I think the mail file has grown. I still can't delete the file.


Rebuild process gives basically no feedback on progress. I looked at Utility Monitor and after a while there did not seem to be any serious CPU effort. To me, that means it was done doing what it was doing.


I feel robbed.


I have another computer with most of the same email. For 20Gb I'd accepted the minor losses if I could move that mail to this computer (2015 map). Other computer, iMac is same OS and vintage.


I saw some other remedies, or attempted remedies in the Yosemite area. It involved terminal and did not lead to a clear solution. I have scanned this computer and do not have viruses. I practice normal care with emails.


I have back ups before this problem, but wouldn't know how to restore just the mail, and at this point I would lose valuable email if I lose say the last 5 days.


So here's my question. It's not too complicated. How do I get out of this mess and be happy?

Posted on Sep 1, 2017 1:14 PM

Reply
Question marked as Top-ranking reply

Posted on Sep 2, 2017 10:34 AM

Apple used to recommend rebuilding the envelope indexes as another approach to such things, but for whatever reason they took down the instructions for doing that. I have done this in El Capitan myself as have others here in the forum and it worked perfectly, so I'm not sure why Apple no longer provides the instructions, but I'll attempt to repeat them here.

  • Quit Mail
  • In Finder, hold the <Option/Alt>-key down and select "Library" from the Go menu.
  • In ~/Library/Mail/V3/MailData/ drag the six files that start with "Envelope Index" and "ExternalUpdates.storedata" to your desktop (in case you need to restore them).
  • Launch Mail and the app will build new Index files -- this can take a long time if there are numerous messages to go through.
  • If everything seems to be working correctly, you can delete the copies of the "Envelope Index" and "ExternalteUs.storedata" files from your desktop.
5 replies
Question marked as Top-ranking reply

Sep 2, 2017 10:34 AM in response to architectbuilder

Apple used to recommend rebuilding the envelope indexes as another approach to such things, but for whatever reason they took down the instructions for doing that. I have done this in El Capitan myself as have others here in the forum and it worked perfectly, so I'm not sure why Apple no longer provides the instructions, but I'll attempt to repeat them here.

  • Quit Mail
  • In Finder, hold the <Option/Alt>-key down and select "Library" from the Go menu.
  • In ~/Library/Mail/V3/MailData/ drag the six files that start with "Envelope Index" and "ExternalUpdates.storedata" to your desktop (in case you need to restore them).
  • Launch Mail and the app will build new Index files -- this can take a long time if there are numerous messages to go through.
  • If everything seems to be working correctly, you can delete the copies of the "Envelope Index" and "ExternalteUs.storedata" files from your desktop.

Sep 2, 2017 8:23 AM in response to architectbuilder

Have you tried control - click/Delete? Can you move the file to the Trash?


Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J. When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder. Select Library/Mail/V3. See if you can delete the file from there.

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.

mail box rebuild disk space

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