An error occurred when using cPanel Roundcube Webmail

User Issue:

Occasionally users of the Roundcube webmail program report that the following error message displayed when attempting to access a folder in webmail:

An error occurred! Server error! (OK)

Troubleshooting:

When reading the error log at:

  • When Roundcube is using MySQL for its database backend:
    • /var/cpanel/roundcube/log/errors
  • When Roundcube is using SQLite for its database backend:
    • - cPanel versions prior to 78: /home/$username/tmp/errors
    • - cPanel versions 78+: /home/$username/logs/roundcube/errors.log
  • When PHP-FPM for cPanel services is enabled:
    • /home/$username/logs/.php.error.log

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.

Solution:

Dovecot uses the index files to make the reading of mailboxes a lot faster and this file will be in the created for each separate mailbox. If the index files are missing, Dovecot will create them automatically when the mailbox is opened. Which means that we can fix this issue using the file manager built into cPanel.

Firstly, ask the user to logout of all webmail sessions, then when you have opened the File Manager navigate the /mail/ directory then look for the domain and user folders for the account that is having trouble. i.e. /home/<username>/mail/<domain name>/<email account name>/

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

Note: It may be necessary to complete this activity in additional folders, specific to the account (such as .Trash, .Sent, etc).

When the user next logs in the Index files should be recreated and the issue resolved.

  • 0 Korisnici koji smatraju članak korisnim
Je li Vam ovaj odgovor pomogao?

Vezani članci

Why is my mail client downloading duplicates of existing emails?

This issue will only occur when downloading mail via POP3. It is not something to be seriously...

Can I connect to my mailbox with a secure connection?

Yes, mail connections for all protocols with SSL encryption are supported. The ports for this...

Can I use my own Microsoft Exchange server with my domain?

So long as your Exchange server has a static (non-changing) IP address, as most do, then it's a...

Can I use my own SMTP server?

Yes, just ask your SMTP server provider for connection details. Some ISPs may only allow you to...

Create DNS records for Office 365 using cPanel

To get started you will need to browser windows open: Microsoft Admin Center and your domain...