Hello,
I use roundcube 0.9.5 with dovecot 2.1.7 from debian stable.
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? Can I change this behavior somehow? Because it seem that given more users this would hammer the IMAP server pretty bad. IDLE is advertised on login.
Thanks, Florian
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.
Can I change this behavior somehow?
No. You can use preview frame, however.
Because it seem that given more users this would hammer the IMAP server pretty bad. IDLE is advertised on login.
Dovecot should handle this pretty nicely, maybe with some settings change.
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.
Grüße, Sven.
Hi,
i also recognized this once. My account on my webspace blocked logins and mail actions because of too many connections. Luckily my provider agreed to increase the connection limit here. But that was a few versions ago, i don't know if it is till like that in actual version.
Regards, Tom
On Thu, 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.
Grüße, Sven.
-- Sigmentation fault. Core dumped.
Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users
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
On Thu, Nov 14, 2013 at 04:20:58PM +0100, Cor Bosman wrote:
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.
For our installation, using up-imapproxy with Dovecot did improve performance. So, YMMV, and I recommend actually testing to see how things work either way.
(We do a number of things that may make initial login more latent than it may be for other people using Dovecot and that probably accounts for the difference.)
Thomas Schober skrev den 2013-11-14 16:04:
Hi,
i also recognized this once. My account on my webspace blocked logins and mail actions because of too many connections. Luckily my provider agreed to increase the connection limit here. But that was a few versions ago, i don't know if it is till like that in actual version.
webmail clients is 127.0.0.1, dovecot can unlimit if clients is on localhost
it is solved imho, but not default setttings in dovecot for this yet
it will be fail to set the vps to accept more connections outside of localhost if clients is using webmail