Linked by Jon Jensen on Tue 26th Aug 2008 02:53 UTC, submitted by Ryan Masters
Thread beginning with comment 328062
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: My rants with the IMAP protocol and IMAP servers
by Liquidator on Wed 27th Aug 2008 05:53
in reply to "RE: My rants with the IMAP protocol and IMAP servers"
I can search the body of all my messages in under 5 minutes, the headers in under 1. Gotta love that server-side indexing.
This is a huge amount of time. Searching messages on a web-based forum takes one second. I shouldn't expect an IMAP server to be slower. In both cases you're searching for a phrase in a list of messages. The IMAP server architecture makes the whole process slow. Five minutes is way too much to wait for.
Get a better IMAP server. For instance, Kolab uses Cyrus IMAP to store e-mail, contacts, and calendars in IMAP folders.
Thunderbird also has an extension that uses folders to store this information but I disagree with this practice. Folders should be used only for messages, and I would use one single large folder in the first place, each message would be labeled and indexed.
It does. Since when is calendars considered part of a "mail" protocol? Or even a "message" protocol"?
Since when people started using email, calendar, address book and collaboration tools at the same time in the same application (this is why Zimbra, Lotus Notes and MS Outlook are so popular in companies). Needs are evolving and IMAP needs to extend its functionalities to meet these needs, especially for companies.
RE[3]: My rants with the IMAP protocol and IMAP servers
by phoenix on Wed 27th Aug 2008 15:54
in reply to "RE[2]: My rants with the IMAP protocol and IMAP servers"
"I can search the body of all my messages in under 5 minutes, the headers in under 1. Gotta love that server-side indexing.
This is a huge amount of time. Searching messages on a web-based forum takes one second. I shouldn't expect an IMAP server to be slower. In both cases you're searching for a phrase in a list of messages. The IMAP server architecture makes the whole process slow. Five minutes is way too much to wait for. "
Well, to each their own. I don't consider 5 minutes to search through several hundred thousand messages, and 1.5 GB of mixed text/binary data to be a long time. Maybe it's because I run my searches in the background while doing other things. Especially when you consider our IMAP server is also the webmail interface (squirrelmail), and is only a 1.6 GHz Opteron system with 4 GB of RAM, server just under 1500 users, about 500-ish logged in concurrently.
If we split that out into separate IMAP, web, auth, etc systems, and put in multiple CPUs and more RAM, the search time would drop. But, for now, we don't need it.
"Get a better IMAP server. For instance, Kolab uses Cyrus IMAP to store e-mail, contacts, and calendars in IMAP folders.
Thunderbird also has an extension that uses folders to store this information but I disagree with this practice. Folders should be used only for messages, and I would use one single large folder in the first place, each message would be labeled and indexed. "
So, do you want a groupware server that does everything, or do you want an IMAP server that just does mail? Make up your mind.
"It does. Since when is calendars considered part of a "mail" protocol? Or even a "message" protocol"?
Since when people started using email, calendar, address book and collaboration tools at the same time in the same application (this is why Zimbra, Lotus Notes and MS Outlook are so popular in companies). Needs are evolving and IMAP needs to extend its functionalities to meet these needs, especially for companies. "
See above.
Zimbra, Lotus Notes, Exchange, and other similar groupware servers don't use IMAP for everything. In fact, they don't use IMAP for anything except access to mail folders from non-native clients. They each use their own custom protocol to communicate between the client and the server. You can't compare these to standard IMAP servers.
The Zimbra client, for example, communicates with the Zimbra server using SOAP calls for everything (mail, contacts, calendar, documents, notes, etc). However, they also provide an IMAP interface to the message store, an iCal interface to the calendars, a WebDAV interface to the documents storage, and an LDAP interface to the global addressbook.
IMAP is for accessing messages, nothing more. And it does that quite nicely. You just have to use the right server and client (especially the right server).
For examples of how to do IMAP wrong, just look at the FirstClass server, and MS Outlook.
RE[2]: My rants with the IMAP protocol and IMAP servers
by phoenix on Fri 29th Aug 2008 19:35
in reply to "RE: My rants with the IMAP protocol and IMAP servers"
Get a better IMAP server. Remote search against Cyrus servers is very fast, even against my 1.5 GB work account. I can search the body of all my messages in under 5 minutes, the headers in under 1. Gotta love that server-side indexing.
Correction, get a better IMAP client. Doing searches from within Squirrelmail 1.5.0, it takes under 30 seconds to search through my 1.5 GB mailbox (body search). Using KMail 3.5.9, though, it takes just about 5 minutes to do the same search, against the same IMAP server. Not sure what's going on there.






Member since:
2005-07-11
You're measuring the usage of a single IMAP client with a single IMAP server, and complaining that everything related to IMAP sucks? Yeah, that makes sense.
GMail uses IMAP over SSL, so you have an encryption/decryption process on top of the transport., slowing things down, depending on your CPU.
You don't specify which IMAP client you are using. Accessing GMail from KMail is nice and snappy, as KMail does multi-threaded message downloads/folder syncs.
Perhaps you should investigate other IMAP clients?
I have 400 MB in my GMail account. Connecting to it from a brand new PC takes less than 5 sec to bring up the inbox (only new messages) and less than a minute to bring up the archive (just under 10,000 messages).
IOW, get a better IMAP client.
Get a better IMAP server. Remote search against Cyrus servers is very fast, even against my 1.5 GB work account. I can search the body of all my messages in under 5 minutes, the headers in under 1. Gotta love that server-side indexing.
Zimbra's Cyrus implementation in their OSS version is also quite speedy. And their Network edition is even faster.
Can't comment on this, as I don't use tagging in any of my IMAP clients.
Get a better IMAP server. For instance, Kolab uses Cyrus IMAP to store e-mail, contacts, and calendars in IMAP folders.
It does. Since when is calendars considered part of a "mail" protocol? Or even a "message" protocol"?
Edited 2008-08-26 23:20 UTC