On Nov 14, 2013, at 3:57 PM, Sven Hartge sven@svenhartge.de wrote:
A.L.E.C alec@alec.pl wrote:
On 11/14/2013 01:37 PM, Florian Lindner wrote:
I've noticed that roundcube produces a lot of login/logout messages. Just viewing the next message using the arrows top left on message view produces three login/logout on the IMAP server.
Why does roundcube does not make use of persistent connections with IDLE?
Do you know any webmail software that does it? It's not possible with this technology.
Prayer Webmail http://www-uxsup.csx.cam.ac.uk/~dpc22/prayer/ does this, but it implements its own integrated webserver to achieve this.
People are confusing persistent connections with IMAP IDLE. They are not the same thing.
IMAP IDLE is probably useless for a client like roundcube. It is meant to push mailbox events to the mail clients (like new email has arrived). But roundcube does way more than just mailbox events on almost every single click. It gets mailbox lists, headers, etc etc.
Persistent IMAP server connections is a different story. In some situations that could help. But it's also not trivial to set up. You could look at using an imap proxy to emulate persistent connections. I believe Timo (dovecot's author) once showed that dovecot is faster than using a proxy, so don't even bother with a proxy when using dovecot.
Cor