webmail roundcube with sqlite : possible to change settings for all email users ?
Hello
There are default settings in
/usr/local/cpanel/base/3rdparty/roundcube/config/config.inc.php
and
/usr/local/cpanel/base/3rdparty/roundcube/config/defaults.inc.php
but if I don't make a mistake they are only used for creating a new user sqlite db
/home/USER/etc/DOMAIN/EMAIL.rcube.db
Is it possible to change some options in already existing sqlite db profiles without loosing what the mailusers have already set in it.
For example : changing the default language
without having to go in all webmail interfaces :)
I've found treads about this but it applies to the time where it was a mysql database, but I did not find examples for sqlite db
I've seen there is a script to "rebuild" the sqlite db, but does this not erase what user has already put in it ?
Thanks !
-
Thanks for the link. The language data is stored in the "users" table of the sqlite db. witch has a simple structure If "preferences" is a serialized array, the "language" field, is separate and directly accessible. So this did work Seems I can't include code here, so a link to a simple script as base 0
Please sign in to leave a comment.
Comments
2 comments