<LJ-CUT text=" --More--( 8%) ">
Every now and then it just goes out to lunch for 20 seconds to a minute. Here's what usually happens: I wake up, start reading my mail, and after I've read about 20 messages, the next time I select a new folder, it just sits there looking like the folder has 0 messages in it. I go and do something else, and after a little while the messages show up. Meanwhile Activity Monitor says that Mail.app is at 85% CPU.
Any time I make some big change, like selecting a thousand bounce messages and marking them Junk, it uses so much CPU that it actually makes iTunes skip for 10+ minutes.
The "Activity Viewer" window is mostly useless; it shows certain activity, but is notably silent any time the load has gone through the roof and I open it up to see what the fuck is going on.
Somehow, my search results are full of all these "phantom" messages. E.g., 50% of the search hits are "real" messages, and 50% are messages with the same sender/subject/date, but they are marked as unread and the "mailbox" field is empty. Clicking on them says "The message from XYZ concerning "ABC" has not been downloaded from the server. You need to take this account online in order to download it."
So I guess somehow, when I imported my mail, a bunch of crap ended up in the search index. How can I clean it? "Rebuild Folder" on the folders in question doesn't fix it.
Maybe there's some way to tell Spotlight, "forget everything you know and start over"?
- Update: "mdutil -E /" nukes the Spotlight index and regenerates it. I guess in a few days I'll know if it helped.
Update 2: Nope, that didn't fix it. Interestingly, "Spotlight" from the menubar doesn't show these "ghost" messages, only searching from within Mail.app. So there must be some other index that Mail.app uses that needs to be regenerated?
Update 3: Quitting Mail.app, deleting "Library/Mail/Envelope Index", and letting it spend 4+ hours re-importing all my mail seemed to fix it. Yay.
Junk mail filtering hardly works at all. It gets like a 50% hit rate at best, and it seems to totally ignore all the hinting I give it. For example: message A comes in, I mark it as junk. The next day, there's a glitch on my mail server that causes it to re-deliver some old messages, including A. Mail.app still doesn't know that it's junk! A bit-for-bit identical message to one that I explicitly flagged!
I suppose I should just give up and maintain a list of banned subjects and senders like I did before, but I Want To Believe.
Is it possible that the Address Book is as utterly, mind-blowingly worthless as it appears to be? Like, it can't figure out that "Foo Bar <foo@bar>" and "Foo Q. Bar <foo@bar>" are the same person? I know that's tricky, given that they have the exact same email address! And drag-and-drop hardly works anywhere. And there's no way to re-order email addresses after you've added them. And and and. Did they have a summer intern write this thing? Hey, it's not like address books are important or popular or anything.