wehre your webmail is running and configure the webmail for
using 127.0.0.1 - so only one connection per user is
persistent instead make a new one for each ajax-request
Someone benchmarked Dovecot a while ago in this list with and without imapproxy
and the results showed that imapproxy simply slowed things down by adding extra
latency. This probably isn't true for all installations, but I don't think
there's much of a difference either way.
nothing strange. I really wonder if there are available FASTER
implementations of imap service. Quite probably not.
It's stupid how webmail works but dovecot doesn't have a problem to get
new connections every now and then. just make sure you didn't set up SSL
by accident.