Sitemap

Amicuk Programming Answers

Mail: smart mailbox contents disappears/search doesn't work & fix is only temporary

2015-10-11   Views:2

Advertisement

Since installing Mavericks (including the Mail update), the contents of my Smart Mailboxes disappears (the Mailboxes themselves are listed, there's just no content) and my ability to get results from Search within Mail disappears.  I have done a lot

Since installing Mavericks (including the Mail update), the contents of my Smart Mailboxes disappears (the Mailboxes themselves are listed, there's just no content) and my ability to get results from Search within Mail disappears. 
I have done a lot of searching here and via Google and read other people with similar problems.  I have done the usual magical stuff: resetting permissions (including the version that involves the command "resetpassword"), deleting caches, etc. - but to no avail.
Spotlight clearly knows about all this mail, because I can find it with HoudahSpot, which uses the same database, but somehow Mail is not able to read what Spotlight knows.
Now there is a commonly recommended fix, which is to go to Terminal and type some version of:
mdimport ~/Library/Mail/V2
This works (as does reindexing the entire disk)!  But only for about a half-hour to an hour, at which point Mail reverts to its previous state.  Running the command again works again, but once again the cure goes away shortly after.  Once again, the Smart Mailboxes are empty and search in Mail stops giving reslts.
Can anyone suggest a real, permanent solution to this problem, besides switching to another email program?

The replay answer
Advertisement
Okay, I think I understand better now.  So I just ran a test, by creating the following rule:
I specifically chose an address (obviously not the one shown) that I had a message from in my Inbox, and a word that was present in the subject line of several messages in my Inbox.  When I ran this rule on my Inbox, it copied exactly the messages I would have expected into the test mailbox.  Are you seeing different behavior with the same rule, or is your rule constructed differently?
If the difficulty is with running the rule, note that (as I said earlier) rules only run automatically on unread incoming messages.  It won't run automatically on existing messages or on messages on an IMAP mail server that you have read on another device using (in which case they will have been marked as read).  If you need to run this in such conditions, you'll have to either run the rule manually or run it via an AppleScript or something similar that is somehow (via something other than Mail) made to execute at certain times/intervals or under certain conditions.
And you're correct, a smart mailbox would be totally inappropriate for what you're trying to do!  It would behave exactly as you guessed.

Go to See the other 14 answers

Mail: smart mailbox contents disappears/search doesn't work & fix is only temporary

Category:DefaultRelease time:2015-10-11Views:130

Since installing Mavericks (including the Mail update), the contents of my Smart Mailboxes disappears (the Mailboxes themselves are listed, there's just no content) and my ability to get results from Search within Mail disappears.  I have done a lot[More]

(Mail) Smart mailboxes disappeared

Category:DefaultRelease time:2015-10-11Views:130

I have been running a fairly comprehensive set of smart mailboxes to organise mail since August 2002. Today I noticed all my smart mailboxes have disappeared. Oddly enough they have disappeared on both of my user accounts on this mac, although it's o[More]

All The Notes and All my personalized Mailboxes and Smart mailboxes have disappeared

Category:DefaultRelease time:-0001-11-30Views:130

When I woke up my MacBook Pro and wanted to check email, all The Notes and All my personalized Mailboxes and Smart mailboxes have disappeared. I only have the standard mailboxes like inbox, sent, trash, etc... Anyone can help with this? Thanks Short[More]

Smart Mailboxes: conditions disappear

Category:DefaultRelease time:-0001-11-30Views:130

Every now and then the conditions that I've added to control what some - not all - of my Smart Mailboxes do, disappear, leaving the SMbox empty. Can't see any pattern or reason; used Time Machine to restore Mail but still same issue remains - any sug[More]

Mailbox content disappears in Apple Mail 4.6

Category:DefaultRelease time:-0001-11-30Views:130

I have an iMac running OSX v 10.6.8 and Apple Mail v 4.6. I have multiple email accounts in Mail, all are IMAP accounts through a third party email provider, and all are through the same provider. Everything worked just fine until recently. Now, at r[More]

Apple Mail smart mailboxes no longer work

Category:DefaultRelease time:2015-10-11Views:130

Well, the subject says it all. I am running Mail 7.3 under Mac OS X 10.9.5 and have 8 smart mailboxes set up. However, as of this morning, none of them are displaying any emails, along with all the VIPs. However, all other folders etc are working nor[More]

Need Help with Mail Smart Mailboxes

Category:DefaultRelease time:-0001-11-30Views:130

I'm just getting started with Smart Mailboxes and seem to be stuck on a key feature. Once I've set up the criteria for the mailbox and the incoming mail goes into the Smart Mailbox, how can I delete it from my inbox without losing it in the Smart Mai[More]

Automatically delete Smart Mailbox contents?

Category:DefaultRelease time:-0001-11-30Views:130

Does anyone know of an easy way to automatically delete all messages within a specific Smart Mailbox when Mail is opened? I found an Automator action for selecting Smart Folder contents in the Finder, but nothing for Smart Mailboxes. Thanks, SkyHi Da[More]

Mail app, mailbox content

Category:DefaultRelease time:-0001-11-30Views:130

Have a dysfunctional Mail as others have mentioned, post-10.4.3 update. Looked for Preferences Mail plist as some have suggested-- was not even in the folder. App does not even open. Have been using web access to e-mail, and could shift to Netscape,[More]

How do I transfer old mail & smart mailboxes from old iMac to Macboook Pro?

Category:DefaultRelease time:2015-10-11Views:130

Hello. I just got my new Macbook Pro with Mac OSX version 10.5.2. I set up my mail account on the computers mac's mail application but I am having trouble transferring my old mail and smart mailboxes from my old computer (iMac with version 10.4.11).[More]

Mac Mini: Smart mailbox items disappear after a month in one mailbox but stay for years in others.  All settings are the same!

Category:DefaultRelease time:-0001-11-30Views:130

I have several Smart mailboxes set up on my Mac. Some of them hold all mail for years and others delete after about a month. All settings are the same on all mailboxes.BDAqua Hi, I have only 1 E-mail account, It is a POP and the one earlier account t[More]

Hot
I have my iTunes library on an external firewire drive that I move between 3 Macs. Is there any way to not have to make iTunes organize it every time? It seems some songs get missed and then when I switch computers other songs have been moved so they [More]
Hi I have a query that determines the directory location of the RTF file on the server. (eg. query returns /u01/apps/erpd2/inst/apps/erpd2_mcdeagaix821/temp/XMCI_B2CR009_RFS.rtf Instead of hard-coding this location as: <xapi:template type="rtf&quo [More]
I posted a message a day or two ago about having trouble pairing my SL300 with its own adapter. This was a brand new out of the box unit. Since the unit was new I thought I'd ask Creative to assist and wrote to their tech support, who returned with f [More]
Hi Gurus, I have created a billing invoice and I need change its payment terms. In the transaction vf02 (Billing Invoice Change), the field payment terms is disable and it is impossible to change its value. Is it possible to change the payment terms [More]
Hi there, My friend just switched from Internet Explorer to Safari, and although he loves Safari, there is one major feature that he misses (and now, I realize that I miss this feature as well!): Whenever he drags-and-drops an image from a website on [More]
Hello forks, I shall be thankful if anyone can assist with me the below point -- Which combination has best flavour M.Tech+SAP ABAP/BI Or else MBA+SAP ? Regards, Tejas Oza. <<Moderator Message: Look at Rahul's answer below. Thread Locked.>> Me [More]
Hi guys I am having some strange issues with iCal at the moment. As you can see below when I send out invities people are receiving two seperate times in the body of the email, and in the ics attachement. I have done some browsing and can confirm the [More]
hi, I am trying to upgrade my server from WindowsNT to Windows2008 where my current Java applications version is 1.4.2_04. Is it possible to run my applications designed in Java 1.4.2_04 on later versions of JRE which are compatible to windows2008 se [More]
Hi Gurus, I did the following steps to import the dvms. 1. Ran an export command ( export data.zip) 2. Unzipped it and added my own dvm xml files. 3. Zipped it back to data.zip( the manner in which it was zipped{not creating dir and zipping it}) 4. R [More]
I am dealing with a scenario in which split valuation X (batch) is activated, that is, inbound goods are being valuated separately per batch. My question in such scenario is whether I could allocate distribution costs (or any other expenses) to each [More]