Roundcube Community Forum

Release Support => Pending Issues => Topic started by: Blackice000 on February 19, 2017, 01:38:31 PM

Title: Change existing user prefs?
Post by: Blackice000 on February 19, 2017, 01:38:31 PM
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
Title: Re: Change existing user prefs?
Post by: SKaero on February 19, 2017, 01:51:46 PM
The moduserprefs.sh in the <RC root>bin folder should do what you are looking for.
Title: Re: Change existing user prefs?
Post by: Blackice000 on February 19, 2017, 05:41:50 PM
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
Title: Re: Change existing user prefs?
Post by: SKaero on February 20, 2017, 06:04:13 AM
You need to use the user id not the username.