Unexpected condition from IMAP server, closed or corrupt connection to IMAP. Possible mailbox corruption.
Posted by Paul Nesbitt, Last modified by Paul Nesbitt on 03 June 2016 03:13 PM

Unexpected condition from IMAP server, closed or corrupt connection to IMAP. Possible mailbox corruption.

When logging into webmail you may see this error, alternatively you may see this error in the /var/cPanel/webmail-program-name/log/errors log file

The fix for this problem is very easy but you will need root access to the server your cPanel account is located on, if you do not have this you will need to report the error to the person or persons responsible for the server for them to resolve for you.

To fix this you will need to know the email address of the affected account.

For this example we will use a fictitious email address of thebitbeforethe@thedomain.com

Now log into SSH as root for the server and do the following.

Enter the following command and press return

/scripts/whoowns thedomain.com

This will return the cPanel account name for this domain something like:

/scripts/whoowns thedomain.com
drppeabb

So the cPanel account name is drppeabb

Next enter the following command and press return  (substituting thedomain.com, drppeabb and bitbeforethe for the actual domain name, the cPanel account username and the bit before the @ respectively.)

cd /home/drppeabb/mail/thedomain.com/bitbeforethe/

Now enter the following command and press return

ll

You will now see a list of files, one of them is dovecot.index

What we want to do now is rename this file so enter the following command and press return

mv dovecot.index dovecot.index.old

Now log out of webmail and log back in.

During the next login dovecot.index is automatically created again and now your problem should be resolved.

Thanks

Paul Nesbitt
PAC Web Hosting

 

(3 vote(s))
Helpful
Not helpful

Comments (0)