You may get the mail configuration error when accessing the webmail client.

webmail configuration error

Here is the solution:

Login to SSH as root

chmod 644 /etc/roundcubemail/config.inc.php
reboot