Getting this error message with RoundCube Webmail in your Apache logs?
[Sun Jan 12 05:53:51 2014] [error] [client 0.0.0.0] PHP Warning: finfo_open(): Failed to load magic database at ‘/usr/share/misc/magic’. in /path/to/roundcube/program/lib/Roundcube/rcube_mime.php on line 727, referer: https://roundcube.domain.tld/?_task=mail&_action=preview&_uid=122332&_mbox=INBOX&_framed=1&_caps=pdf%3D1%2Cflash%3D1%2Ctif%3D0
Make sure the path to “libmagic” is correct. Edit your “config/main.inc.php” file.
You might (by default) have the following path :
$rcmail_config['mime_magic'] = '/usr/share/misc/magic';
Correct the path according your system, common location is :
$rcmail_config['mime_magic'] = '/usr/share/magic';