Roundcube Community Forum

 

Change existing user prefs?

Started by Blackice000, February 19, 2017, 01:38:31 PM

Previous topic - Next topic

Blackice000

Once a user has logged on, their prefs (taken from the defaults) can be modified by them. These changes are stored in the database, so changing the defaults has no effect.

Is there a mechanism to change a users preferences once they modify them?

Particularly, I am looking to modigy the CHECK MAIL interval time.

I am using 1.3 on a Centos 7.3 system if that has any relevance.

Thanks!

Rick

SKaero

The moduserprefs.sh in the <RC root>bin folder should do what you are looking for.

Blackice000

OK I see the moduserprefs.sh in the bin folder and have tried the following syntax:

./moduserprefs.sh --user=username refresh_interval 200

Something is wrong. It executes but there is no change. Must be something I am doing wrong.

Rich

SKaero

You need to use the user id not the username.