Re-Indexing Accounts / Mailboxes
Problem reported by Michael Muller - November 7 at 8:46 AM
Submitted
Going through my own account's mail boxes, I'm noticing two folders called "oldInbox" and "_old inbox" I created a couple years ago. In one of the folders, every email is dated 9/22/17 even though the emails themselves are from different dates, spanning 2017 and 2016. The other folder has some newer emails in it, but also has several hundred emails shown as the same date 9/22/17, even though they're not actually from that date. Also noticing some other folders have old emails that are each duplicated... every email shows up twice, side by side.

I tried to reindex my account, again, but now notice I can't. I'm the primary admin, and even though I impersonate the other domain admin, I cannot reindex my account.

Will reindexing even fix the 9/22/17 problem?
---
Montague WebWorks
Powered by RocketFusion

5 Replies

Reply to Thread
0
Alex Clarke Replied
I’ve experienced this date issue on several mailboxes.

The problem is caused by uploading emails via IMAP. We do this a lot when migrating clients.

For example, we’ll upload locally stored emails from Outlook to the server using an IMAP connection.

A bug exists where the date of the emails uploaded is the same as the current date (of upload). From memory, the emails show the correct date in the headers and when viewing the message in the web interface, but the email list is wrong.
 
I think I still have an open ticket for this.

If you’re really unlucky you’ll hit the ~2GB GRP file size limit during an upload and strange things start to happen!

0
Michael Muller Replied
I believe my trouble began when I selected all the emails from 2017 and attempted to move them to the "old inbox" folder. My first attempt was through Thunderbird. My second was through the webmail interface. Same results.
---
Montague WebWorks
Powered by RocketFusion
0
Alex Clarke Replied
Apparently the Mailbox Migration feature doesn’t suffer from this bug (so ST support tell me), but that doesn’t help my situation.

I’ve not tried moving lots of emails via webmail yet.

I’ll check the status of our ticket on this and let you know the latest shortly. 
0
Michael Muller Replied
To fix the issue with the wrong dates on emails, I was told that I need to do the following:

1. Stop the Smartermail system service.
2. Navigate to the folder _OLD and delete the mailbox.cfg file found here.
3. Repeat step 2 for any other folders showing duplication or incorrect dates.
4. Start the SmarterMail system service.
5. Reindex your account. This can be done from the primary domain admin account by clicking Domain Settings > Accounts then clicking the user and hitting [...] > Reindex
---
Montague WebWorks
Powered by RocketFusion
0
Matt Petty Replied
Employee Post
When you reindex, keep an eye on the status of the index in the Indexing logs. We've had some confusion lately about how the chunking occurs in Indexing and often when the session for indexing is marked as completed in the web interface it is still not finished because of the chunking behavior.
When testing a mailbox, you can move or mark a single email then go to the indexing logs. Once this gets indexed you should see something like this if it's done.
00:02:06.354 [XXXXXX] Indexed items: 8283 / 8283 (100%)
If it is not done you'll see something like
00:02:06.354 [XXXXXX] Indexed items: 7123 / 8283 (88%)

Before testing performance or search behavior it's important that the box has completely indexed all items. We recently made some changes to our logging to make this clearer. We've also internally batted the idea around to index immediately when something gets added to a folder but this a bigger change we'd have to make with a feature update later on. Other ideas could be somehow indicating during a search that the search will be incomplete because it has not fully indexed.

If you see search working but only up to a certain date, then this behavior could be behavior your seeing.
Matt Petty
Software Developer
SmarterTools Inc.
(877) 357-6278
www.smartertools.com

Reply to Thread