How to resolve “Error occurred when using cPanel Roundcube Webmail”?

How to resolve “Error occurred when using cPanel Roundcube Webmail”?

Whenever you try to access the webmail folder, you will receive an error by stating:

An error occurred! Server error! (OK)

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

This may due to the problem in the index file which is corrupted.

For instance:

If the backend of MySQL is used in Roundcube:
/var/cpanel/roundcube/log/errors

If the backend of SQL is used in Roundcube: You have to mind two versions in cPanel such as

cPanel version equalized to 78: /home/$username/tmp/errors

cPanel version next to 78: /home/$username/logs/roundcube/errors.log

If the service for cPanel’s PHP-FPM is enabled then process: /home/$username/logs/.php.error.log

Let us see the solution:

Index files are mostly utilized by Dovecot because it is necessary to read mailboxes immediately. Each mailbox has separate files so that, if the index files get missed mistakenly, you can recreate them using Dovecot.

Step 1: Leave from sessions of webmail immediately.

Step 2: Open the file “File Manager” and then /mail/ directory. Place the user folder and domain to the file correctly:

Code:
/home/<username>/mail/<domain name>/<email account name>/
Step 3: Go to the file “dovecot.index” and then change the name to “dovecot.index.bak”.

By now, you will see the index files are recreated automatically. You won’t get errors while login in again.
Author
kumkumsharma
Views
5,469
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from kumkumsharma

Top