MailEnable dropping emails in IMAP inboxes

Posts: 1
Joined: Fri Mar 10, 2017 9:47 am

MailEnable dropping emails in IMAP inboxes

Postby dbsim » Fri Mar 10, 2017 9:58 am

Since upgrading to 9.6.1 from 9.18, we've had a recurring issue where the _index.xml for an inbox becomes corrupted, and MailEnable moves it to _index.xml.bad and starts from scratch, giving the user the impression that their IMAP inbox has lost all of its mail.

The logs show something like this for us:

Code: Select all

03/07/17 16:59:31   Failed to truncate index: \\\iis\MailEnable Config\Postoffices\\MAILROOT\user\INBOX. A file error occurred when opening file (32).
03/07/17 16:59:31   [Thread:12800]StreamXMLStoreIndexSerialiser::SerialiseHook Elapse: 265, Item= \\\iis\MailEnable Config\Postoffices\\MAILROOT\user\INBOX, Count=810
03/07/17 16:59:31   [Thread:12800]StreamXMLStoreIndexSerialiser::DeserialiseHook Elapse: 62, Item= \\\iis\MailEnable Config\Postoffices\\MAILROOT\user\INBOX\_index.xml, Count=810
03/07/17 16:59:31   Failed to deserialise index: \\\iis\MailEnable Config\Postoffices\\MAILROOT\user\INBOX. Failed to restore backup index. RestoreSerialisationBackup returned:5
03/07/17 16:59:31   StoreIndex_Open::Error opening store index in: \\\iis\MailEnable Config\Postoffices\\MAILROOT\user\INBOX
03/07/17 16:59:31   ME-EXXXX: Warning: Failed to access activity file (\\\iis\MailEnable Config\Postoffices\\MAILROOT\user\ for input. Client connection already removed (2).
03/07/17 16:59:31   [2044] End of conversation. Removing connection. Session=706285040
03/07/17 16:59:31   CleanupNotificationThread:: Notification thread terminated.

Updating to 9.6.2 does seem to have lessened the frequency of this happening, but it has still happened on a couple of inboxes over the past week.

The "bad" copy of the index is actually complete, so we've been able to recover these inboxes manually each time. What appears to be the issue is that MailEnable is updating the index with the new data just fine, though in all these cases the new data is shorter than the old data, and MailEnable is then not truncating the file. This means that at the end of the file, there's a snippet of left-over data from the previous write, so the end of the file looks something like this:

Code: Select all


Like I said, this has only started happening since we upgraded from 9.18 to 9.6.1, and has continued with a further upgrade to 9.6.2.

Could you please advise on how to prevent this issue from happening in the future?

Site Admin
Posts: 8678
Joined: Mon Mar 22, 2004 4:44 am
Location: Melbourne, Victoria, Australia

Re: MailEnable dropping emails in IMAP inboxes

Postby MailEnable-Ian » Tue Mar 14, 2017 12:46 am


Please lodge a support ticket under "Upgrade" for further assistance and provide the detailed information int his post.

Ian Margarone
MailEnable Support

Who is online

Users browsing this forum: No registered users and 11 guests