Enable logins log on Roundcube by default

mrdave

Verified User
Joined
Nov 23, 2011
Messages
13
Every time I install/update roundcube on servers, I have to add manually this line to config.inc.php:

$config['log_logins'] = true;

in this way roundcube records in file logs/userlogins.log all login attempts and can see real IP address of people logging in and check if they are legitimate or accouns are compromised.

It is possible to have that option saved by default on every install/upgrade of roundcube instead of havint to set it manually?
 
It is possible to have that option saved by default on every install/upgrade of roundcube instead of havint to set it manually?
Yes, but be aware this will block every possible change in config.in.php, however mostly that file is not changed.

Code:
mkdir -p /usr/local/directadmin/custombuild/custom/roundcube
cp /var/www/html/roundcubemail-1.x.x/config/config.inc.php /usr/local/directadmin/custombuild/custom/roundcube

Replace 1.x.x by the correct current version. Then edit the config.inc.php in the custom directory and make your change there.
After that, on ever time roundcube is rebuild, the custom config.inc.php is used on compilation.
 
Back
Top