You might receive an error as below when accessing Horde from webmail on a cPanel installed server. It allows you to log in. But, when you access a specific email account, it shows this message/error. It usually happens when you migrate servers OR rebuild it.
User <email account> is not authorised for Mail
The reason for the error is Horde database might be corrupt OR it needs a reset.
Check the database if corrupt and repair it.
Command to check database is
mysqlcheck horde
It will show the table which is corrupt. If it is, repairs it with the command below. Table horde_alarms is just for reference if it’s corrupt. Replace the table name accordingly.
myisamchk -r -o /var/lib/mysql/horde/horde_alarms.MYI
This should sort it. If you still get the same message it’s time to reset horde. Don’t forget to take database backup.
mysqldump horde > horde.sql
Reset Horde with the command below.
/scripts/fullhordereset
If you still face any issues contact our support team & they will be happy to fix it for you.