We use dovecot on our servers to process email. However, with IMAP it keep freezings so here are possible solutions.
# vi /etc/dovecot.conf
change and/or uncomment :
auth_worker_max_count = 30
to
auth_worker_max_count = 60
A web and systems development journal (from a–too busy–web developer who does a lot of various IT work.)