habibzain Just husband, father and enthusiastic men about System Administration. Love to write short article about it. Perhaps can help and be useful for others.

cPanel Webmail An error occurred

1 min read

cPanel-Roundcube-Webmail-An-error-occurred

This is note for documentation cPanel Webmail An error occurred. I am meet this error when open cPanel webmail.

Detail Issue:
Users of Roundcube webmail report the following error message displayed when attempting to access a folder in webmail:

An error occurred! Server error! (Token Denied)

Access the Roundcube error log at:

/var/cpanel/roundcube/log/errors

and the following error entry will possibly be displayed:

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

As stated, the above error message indicates a potentially corrupt index file.

Fix cPanel Webmail An error occurred

Solution:

The basic idea behind Dovecot’s index files is that it makes reading the mailboxes a lot faster. Each mailbox has its own separate index files. If index files are missing, Dovecot creates them automatically when the mailbox is opened. Thus, establish an SSH session with the server and navigate to:

/home/<username>/mail/<domain name>/<email account name>/

Find dovecot.index and rename it to dovecot.index.bak

Note: Quite possibly it may be necessary to complete this activity in other folders, specific to the account (such as .Trash, .Sent, etc).

Log the webmail user back into Roundcube webmail and the error should no longer appear (as a new dovecot.index file is generated upon login).

If this does not work try restarting dovecot. Wait a few seconds and then relogin into webmail. Should be working

This article is thanks to ServerSupport. That is article about cPanel Webmail An error occurred when open via browser. May be it’s helpful, please feel free to leave a comment if you have any questions and I’ll appreciate it.

See also  Install cPanel WHM Alma Linux 8

source:
https://linuxtroubleshooting.wordpress.com/2016/03/25/fix-cpanel-webmail-error-unexpected-condition-from-imap-server-possible-mailbox-corruption/

habibzain Just husband, father and enthusiastic men about System Administration. Love to write short article about it. Perhaps can help and be useful for others.

Leave a Reply

Your email address will not be published. Required fields are marked *

Never miss good article from us, get weekly updates in your inbox