smart mailboxes missing

Nothing devastating, but after ugrading to Mountain Lion and having my email converted over to Mail 6.0, all of my smart mailboxes I set up are missing. I assume the emails are still in the system, but the smart mailboxes do not appear.


I will note that I can set up new smart mailboxes, which appear correctly in the side panel.


Andy

Posted on Jul 25, 2012 4:04 PM

Reply
22 replies

Apr 13, 2014 10:02 AM in response to Andrew Smith15

Losing all my smart mailboxes on my home iMac was a combination rceiving an new Macbook Pro with System preferences -> iCloud:


1) Documents & Data checked -- so I could sync Preview docs and the like

2) Mail turned off -- because I don't want to mix up the Mail accounts used on both machines


As a result, iCloud sync'ing kept wiping out my iMac smartmailboxes with the (empty) smart mailboxes on the MacBook


To fix this, I copied over contents between two files on my home iMac, using a Time Machine backup of SyncedSmartMailboxes.plist:

from: ~/Library/Mail/V2/MailData/SyncedSmartMailboxes.plist

to: ~/Library/Mobile Documents/com~apple~mail/Data/MailData/ubiquitous_SyncedSmartMailboxes.plist


I've also filed a suggestion with Apple that smart mailbox info should be stored with the iCloud -> Mail setting, and not iCloud -> Documents & Data.

Apr 14, 2014 9:55 AM in response to Daniel Sonnenfeld

Thank you! That was a total help. I discovered that my ~/Library/Mobile Documents/com~apple~mail/Data/MailData/ubiquitous_SyncedSmartMailboxes.plist was 0 bytes. I overwrote this file with the locked file I've been using, and so now each launch of Mail just gives me this file instead of the 0 byte one it had.


On your suggestion, I disabled iCloud sync for Documents & Data. This allowed me to make changes to my Smart Mailboxes. I then backed up the file (because iCloud) and turned on Documents & Data syncing and relaunched Mail. To my surprise, it had the updated smart mailboxes; however, not to my surprise, any changes I make are once again lost.


So, at least now there is a cockamamy work-around should I need to update my smart mailboxes.


I added the same request to my radar bug report that these settings should be part of the iCloud -> Mail setting instead of Documents & Data.

Jul 31, 2014 11:39 AM in response to Andrew Smith15

The following solution just worked for me. No need to turn off Documents & Data in the iCloud control panel.

You do need an older copy of the file,

~/Library/Mail/V2/MailData/SyncedSmartMailboxes.plist

because the current is basically empty, destroyed by an evil Apple mistake. I found my file in yesterday's TimeMachine backup (yay, Apple!).


It seems the file,

~/Library/Mail/V2/MailData/SyncedFilesInfo.plist

maintains a list of sync'd files.

My Steps:

1) Quit Mail

2) Deleted the final entry in the file

~/Library/Mail/V2/MailData/SyncedFilesInfo.plist

which looks like this:

<key> a bunch of stuff</key>

<dict> a bunch of stuff </dict>

3) Start mail app, and voila! the smart folders are there.

Hope it works for you!

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.

smart mailboxes missing

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