Apple Spotlight IndexingWhen I started having my email issues, one of the first things I did was manually turn off Apple's spotlight indexing.

To do that, open Terminal and use this command:

sudo mdutil -i off [harddrive]

Replace [harddrive] with your hard drive's location.

Now that is has been a few days, and Mail has stopped duplicating my IMAP folders, I decided to turn it back on.

sudo mdutil -i on [harddrive]

Spotlight is basically the tool you use to find files on your Mac. I rarely ever use it, because I am filing nut, but I do use it on some occasions. So why did I turn it back on?

I think it is required for Time Machine to work. So I decided to give it a try. After about an hour of running, (it fluctuates between 4 - 6 hours of indexing time remaining), I noticed it gobbled up about 750MB of space.

I'll keep watching it and kill it again, if it eats up more than 2GB of space.