On 26.07.2010 15:27, Ed W wrote:
It's possible we are talking cross purposes? The IMAP command returns instantly, no delay. It's something in the PHP code which is slow and chewing CPU. The debug log I was looking at was the Dovecot logs, however, I just noticed in a response to someone else it was mentioned that there might be a roundcube side log? I will try and enable this and also check the lines you mentioned and try to narrow down the slowness - thanks
Enable imap_debug option and check logs/imap file.
Note the delay ONLY occurs when threading enabled on the main message view
So, slow is THREAD or its result parsing.