Webmail (Roundcube/Squirrelmail/Horde) is not showing emails

Sometimes you face the issue in which Webmail (Roundcube/Squirrelmail/horde) won't show emails in mail boxes for some particular account(s).

Reason: The issue is with the Dovecot and may be due to Dovecot cache.

Fix: Follow the steps mentioned below to fix the issue:

1. SSH the server with root access and change the current directory to the mail directory of the affected account using cd command:

# cd /home/<user>/mail

2. Run the following script to find the dovecot related files and moved those to backup file.

# find -type f -name "dovecot*" -exec mv -f {}{,.bak.`date +%m-%d-%Y`} \;

3. Restart dovecot with the following command:

# /etc/init.d/dovecot restart

Now check the mails on your Webmail account. The emails will be shown now. :)

Comments

Popular posts from this blog

SVN: File remains in conflict

HowTo: Enable extended logging for exim

12 tweakings for WHM/cPanel to speed up WordPress