I have the same issue, when I try to login I am getting this error: "connection to storage server failed." This is happening in a new installation using CWP WebPanel.
[root@home ~]# service dovecot restart
Stopping Dovecot Imap: [ OK ]
Starting Dovecot Imap: [ OK ]
[root@home ~]#
Any ideas on how to solve this?