sympl-webmail: Getting roundcube to work
Not that I use roundcube - but it's useful backup. The system seems to have the right database tables, but cannot access them and there are some other minor tiny changes to make to it work. Now it maybe that it does work... I couldn't get it to log me in. So I did this lot:
-
Install apt install php-net-idna2 the install script complains about this
-
cd /usr/share/roundcube
ln -s /var/lib/roundcube/temp
Roundcube is looking in /var/lib/roundcube or so it says.
-
Change /etc/defaults.inc.php This line:
$config['db_dsnw'] = 'mysql://roundcube:@localhost/roundcubemail';
points to roundcubeemail - where the mysql database is roundcube. So change that.
Now run dpkg-reconfigure roundcube-core
it creates debian-db.php, which contains a password. This still isn't roundcube's password, so
# mysql mysql
> alter user 'roundcube'@'localhost' identified by 'THE PASSWORD IN THE FILE';
> FLUSH PRIVILEGES;
check that the password works - and add it into /etc/defaults.inc.php after the colon.
It should all now spring into life.