Hello Michael, I'm sorry to hear you're having so much trouble with the indexing right now! One thing that can cause indexes (and other files) to get out of sync like this would be sudden restarts of the server such as power failures or crashes, so I would be on the lookout for any signs of trouble server-wise or anything that might hint at stability issues in general. One other possibility is that something IN those indexed messages might be causing trouble as well. Did you have any spam reported recently that adhere to a pattern? Because spam campaigns typically target entire machines/networks, I'm wondering if a message might have come through with some content in it that caused trouble for our indexing.
As to the resolution of these problems; to rebuild all indexes at once is something that has been requested, but is not currently available in SmarterMail. You can purge the contents of each users' index/indexv2 folders (with SM services stopped) though, and then issue the reindex command from a domain administrator account for all users at once. This would require you impersonate each domain, but at the very least you can reindex all users at once form the Domain Settings>Accounts page.
I do recommend doing this for one or two domains at a time though, as indexing can be resource-intensive depending on account contents.
Kyle Kerst
IT Coordinator
SmarterTools Inc.
www.smartertools.com