Roundcube

First thing to remember

On Fedora roundcube gets installed on several places.

  1. Package files in /var/lib/roundcube

    - and then a copy made to /usr/share/roundcube/

    - And the 3rd place. Configuration files are installed in /etc/roundcube. And it must be writable by the browser process for the installation to finish.

  2. And roundcube's httpd conf file is in /etc/httpd/conf.d/roundcube. You need to edit this file for roundcube to be accessible for installation.

The database

Default database is sqlite but you need to change it's location from /etc/roundcube/config.inc.php into this
config['db_dsnw'] = 'sqlite:/web/mail/roundcubemail.db';

Otherwise database initialization will fail as the default location is at / root of filesystem.

Last thing

Lastly put this line in your /etc/roundcubemail/config.inc.php

$config['smtp_server'] = 'tls://sanjir.com';

The default is NOT to use TLS localhost which won't work.

Published
11-Oct-2022
Updated
11-Oct-2022