hoannt@mail.ciid.cz.cc put forth on 9/30/2010 1:44 AM:
Again, your current slow RC response is due to something in the software stack on the server, or more likely, the client PC. What are the specs of the client PC hardware and software? This is relevant due to the java processing on the client. If your client PC/OS/Browser is slow, it won't matter how fast the server is responding.
I think my problem it something like this: http://www.roundcubeforum.net/5-release-support/14-release-discussion/3061-r...
I try to reconfigure the main.inc.php (IMAP part), forcus on imap_auth_type, imap_root, imap_delimiter. So the speed is OK now.
Thank you all for your support!
Ahh, that auth type detection would do it. And on a webmail server you're going to see the delay with every action (unless you have imapproxy, which will lessen the delay effects after the initial login).
If you're running all of the RC stack on one machine, and requiring HTTPS to connect to RC, there is no reason to use IMAPS or any password encryption between RC and your IMAP server, as they're running on the same box. Snooping the unencrypted credentials would require that a hacker had already rooted the host. At that point you've got much bigger problems than unencrypted passwords being transferred in shared memory. ;)
Glad you got it going. I'm still not completely clear as to what you actually changed to fix the problem. Did you set these to a manual value:
$rcmail_config['imap_auth_type'] = null; $rcmail_config['imap_root'] = null; $rcmail_config['imap_delimiter'] = null;
They all default to auto-detect, hence the "null". If these were part of the cause of your problem, did you manually modify them at some point in the past, causing the problem? I'm using Dovecot with RC and I never had to change these. Then again I configured TCP 143. Maybe the auth auto detection doesn't cause a delay in this setup, but does if you tell it to use IMAPS?
It may be beneficial to future Googlers if you were to write up a more detailed email explaining the cause of your problem, and exactly what you changed to fix it.