Welcome to the forums
What do you have set in the Admin GUI for Global Settings -> IMAP -> Enable SSL for IMAP ?
It would also help if you were to update
your profile with the following output so we know which version of ZCS you are running
Code:
su - zimbra
zmcontrol -v