Hi everybody,
I'm testing scalix using imapsync. I have about 20k mails in a cyrus imap server that I get thru the internet to a scalix server inside a VMWare virtual machine. I saw that listing the folders and the messages in everyfolder (the first step that imapsync does) takes much more time in my local scalix server than in the cyrus imap server.
So got into the scalix server, and ran strace against the imap server, and I saw that it was opening and reading lots of files, where scalix saves the mail messages. So I think scalix has to read every message in order to get the metadata (Subject, From, size, To, etc) that imapsync asks for.
As far as I know, cyrus stores all the metadata in a berkeley database, so when a mail client asks for it, it doesn't have to open and read every single mail in the mail spool. On the downside, if the berkeley database gets corrupted, it may return stale information or no information at all.
My question is: how does scalix handle this metadata?
Thanks in advance,
-- Diego.
