2315 Views 6 Replies Latest reply: Mar 4, 2007 8:53 PM by surfmonk
With the Mail.app quit and using the Finder go to Home > Library > Mail. Copy the Mail folder and place the copy on the Desktop for backup purposes.
Using the Finder, go to Home > Library > Mail > Envelope Index.
Move the Envelope Index file to the Desktop.
Launch Mail and you will be prompted to import all mailboxes. Select OK and allow this import process to complete. This isn't actually importing anything but replacing the Envelope Index file and re-indexing all mailboxes/messages.
Verify/repair the startup disk (not just permissions), as described here:
The Repair functions of Disk Utility: what's it all about?
You may be able to get rid of those messages in Mail doing Edit > Cut (⌘X) (for best results do it with one message or just a few at a time), but you may need to remove them from the server first. Does this account allow web access?
You may find the Account Info window useful to solve this problem -- choose Get Info (⌘I) from the Action menu (gear icon) located below the mailboxes list in the main Mail window.
I forgot to mention, I also tried deleting the Envelope file. Tried it a few times, actually.
Cutting the messages seems to disappear them for now... but I don't trust where they are going.
I want to understand why the delete button doesn't function as it should. It moves them to Trash, and I set my trash to delete after 1 day... but these residual files from weeks ago keep coming back. I check my server too, and purged the trash there, which is set not to keep anything.
> Cutting the messages seems to disappear them for now...
but I don't trust where they are going.
What do you mean? They don’t go anywhere (well, they go to a temporary storage area so that you can paste them). That’s precisely why it works.
I want to understand why the delete button doesn't function as it should.
Probably because there is something wrong with the messages themselves that prevents Mail from being able to handle them properly in general and from moving them to any other mailbox in particular. If Edit > Cut didn’t work (and sometimes it doesn’t), you’d have to manually get rid of the associated *.emlx files and re-create the index afterwards.
We just had the same thing happen today at my office. Only this time all emails from back in July 2006 through this month came back into the in box. This time over 50,000 emails. Mail.app will not let us delete anything manually, and mail seems to be not responding. I decided to give it an over night to work itself out (as sometimes it does) and if not, I think I will try your method first thing in the morning!
I have already reset permission and tried to rebuild the mail etc... Restarted with the shift key down, logged in and restarted again to clear the cache.
I did go into the mail folders in the library and removed all the old .emlx files that were in the trash. (physically, and those are now empty) But the old mail still shows up in the program. Hopefully the method you described by moving folders will work! I'll let you know.