Scalix creates an imap-cache to speed up access for imap folder. Yours is corrupt. It's not overly common, but it's certainly not unheard of either. The fix is easy and fast.
First, make sure the user is signed out.
omstatu -u rci -c|grep -i <username>
If they're still logged in, have then log out. Note that it's common for a connection to be held open for a while after they sign out. Again, this is done to improve performance. If you see that happening, kill -9 it. The above command will give you a Process ID number you can use to kill it.
Then
omshowu -f <username>
This will show the user's folder. ~/user/g000037/00000v8:1. is mine for example.
So go to that folder.
cd /var/opt/scalix/??/s/user/g000037
in there are 2 directories. one is imap-cache, the other is 00000v8.ofs. Delete everything in both of those folders, but not the folders themselves.
rm imap-cache/*
rm 00000v8.ofs/*
That's it. Have the user sign back in, and I suspect you'll find that all is well.
