Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

yippi

macrumors member
Original poster
Nov 16, 2013
61
3
Hi,

in Console I notice hundreds of logs like the one pasted at the end. It appears that Mail is trying to find an old mailbox (OLD MAIL) that I had imported into Mail a long time ago. As long as I was still on Mountain Lion this wrong behaviour did not exist.

How can I stop Mail from doing this and to swamp my console with these messages?

What does "Assertion failure" mean?

Thanks
MPro2009, OS10.9.5

_________________________
23/02/15 13:13:42,121 Mail[1674]: *** Assertion failure in -[MFLocalAccount mailboxForRelativePath:isFilesystemPath:create:], /SourceCache/Mail/Mail-1878.6/FrameworkTargets/MailFramework/Accounts/MFMailAccount.m:4296
Absolute path passed into -[MFLocalAccount mailboxForRelativePath:isFilesystemPath:create:]: /Volumes/MY VOLUME/USER NAME/Documents/TO DO/OLD MAIL.mbox
(
0 MailCore 0x00007fff9670c8bc -[MCAssertionHandler _handleFailureWithPreamble:description:arguments:] + 141
1 MailCore 0x00007fff9670c72d -[MCAssertionHandler handleFailureInMethod:eek:bject:file:lineNumber:description:] + 215
2 Mail 0x00007fff982f5045 -[MFMailAccount mailboxForRelativePath:isFilesystemPath:create:] + 204
3 Mail 0x00007fff982f62df +[MFMailAccount mailboxForURL:forceCreation:syncableURL:] + 435
4 Mail 0x00007fff983081b3 __43+[MFMailbox queueUpdateCountsForMailboxes:]_block_invoke841 + 48
5 CoreFoundation 0x00007fff9644e6df __65-[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:]_block_invoke + 111
6 CoreFoundation 0x00007fff9644e5ee -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] + 222
7 Mail 0x00007fff983080a0 __43+[MFMailbox queueUpdateCountsForMailboxes:]_block_invoke + 270
8 Foundation 0x00007fff8d0e56d5 -[NSBlockOperation main] + 75
9 Foundation 0x00007fff8d0c4ec1 -[__NSOperationInternal _start:] + 631
10 Foundation 0x00007fff8d0c4b6b __NSOQSchedule_f + 64
11 libdispatch.dylib 0x00007fff9941828d _dispatch_client_callout + 8
12 libdispatch.dylib 0x00007fff9941c7e3 _dispatch_async_redirect_invoke + 154
13 libdispatch.dylib 0x00007fff9941828d _dispatch_client_callout + 8
14 libdispatch.dylib 0x00007fff9941a082 _dispatch_root_queue_drain + 326
15 libdispatch.dylib 0x00007fff9941b177 _dispatch_worker_thread2 + 40
16 libsystem_pthread.dylib 0x00007fff8cbf8ef8 _pthread_wqthread + 314
17 libsystem_pthread.dylib 0x00007fff8cbfbfb9 start_wqthread + 13
)
 
But that old Mail doesn't show in the list of mailboxes (In Mail, under View > Show/Hide Mailbox list)?

Take a look in your Homefolder's library/Mail folder, there's a subfolder called Mailboxes, see if your 'Old Mail' is in there, and can be deleted.

That folder can be reached in Finder > Go >Go to folder, then type: ~/Library/Mail/

Make a backup of the Mail folder (and maybe Quit Mail) before you change something over there.
 
But that old Mail doesn't show in the list of mailboxes (In Mail, under View > Show/Hide Mailbox list)?

Take a look in your Homefolder's library/Mail folder, there's a subfolder called Mailboxes, see if your 'Old Mail' is in there, and can be deleted.

That folder can be reached in Finder > Go >Go to folder, then type: ~/Library/Mail/

Make a backup of the Mail folder (and maybe Quit Mail) before you change something over there.

Well, yes, I do keep my old mail folders from up to two years just in case I need a message. They are purposefully visible/accessible (under the heading on my Mac). They correctly exist also in the ~/library/mail folder.
 
Ah, I wasn't reading correctly, thought you didn't use that old mail folder, and were only bothered by the console notifications.
But you are still using it..

What to do? Maybe delete that folder from Mail (after you made a safety copy in Finder) and add it again.
Or.. nothing. If this is only in the background and not changing your user experience, why bother?
 
Usually (but not always :) ) This is caused by the Envelope Index files being out of date, corrupt or otherwise out of sync.

Deleting them while Mail is closed will force Mail to re-index once you open it up again. It usually solves these kind of issues.

There will be 3 or more such files in your ~/Library/Mail/V2/MailData folder.
 
Last edited:
Usually (but not always :) ) This is caused by the Envelope Index files being out of date, corrupt or otherwise out of sync.

Deleting them while Mail is closed will force Mail to re-index once you open it up again. It usually solves these kind of issues.

There will be 3 or more such files in your ~/Library/Mail/V2/MailData folder.

GREAT! Thanks Stefanski. That was it. Cheers!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.