Please post the output of:
netstat -tap | grep imap
according to your log, you seem to use courier. If you start to configure dovecot now, then you will break your setup as dovecot and courier use a different maildir layout. You might also check in ispconfig > system > server config on the mail tab if dovecot or courier is selected there as mailserver.