On Thu, Dec 13, 2012 at 9:59 PM, Michael Heydekamp <[email protected]> wrote: > Am 13.12.2012 14:07, schrieb Thomas Bruederli: >> On Wed, Dec 12, 2012 at 9:01 PM, Michael Heydekamp <[email protected]> >> wrote: > >>> Damn. How can I remove this setting? (Looking at the MySQL section in >>> webmin, the Squirrel user settings are a lot more admin-friendly to change >>> than the Roundcube settings, which are apparently stored in just one >>> string). >> >> We recently added a shell script that will help you with this. See >> bin/moduserprefs.sh. > > Yeah, I noticed that. It's just a bit hard to recall the precise syntax > from the top of my head. A documentation (within Roundcube or somewhere > else) would help. Currently it's only this list where this script is > mentioned and explained, right?
Yes. The current git-master hasn't been released so far and thus it wasn't mentioned in any announcements. > >> Run it from the Roundcube root directory: >> >> bin/moduserprefs.sh --user=<your-user-id> default_folders --delete > > Hmmm... Are the lower-than and greater-than characters part of the command > or not (pretty unlikely that they are, as "<" and ">" are normally used for > redirection)? Anyway, I tried both. Usually this brackets denote something that you have to insert. > > First attempt: > >> bin/moduserprefs.sh --user=michael default_folders --delete That's the right approach but you have to enter the numeric ID of your user record from the local database. The script is very low-tech and doesn't do a username lookup. > Result: > >> PHP Parse error: syntax error, unexpected ':' in >> /var/www/webmail5/bin/moduserprefs.sh on line 34 Sorry for that. The syntax error has been resolved meanwhile. ~Thomas _______________________________________________ Roundcube Development discussion mailing list [email protected] http://lists.roundcube.net/mailman/listinfo/dev
