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?

> 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.

First attempt:

> bin/moduserprefs.sh --user=michael default_folders --delete

Result: 

> PHP Parse error:  syntax error, unexpected ':' in 
> /var/www/webmail5/bin/moduserprefs.sh on line 34

Second attempt:

> bin/moduserprefs.sh --user=<michael> default_folders --delete

Result:

> bash: michael: Datei oder Verzeichnis nicht gefunden

I seem to have a talent to always hit a brick wall... ;)

Regards,
-- 
Michael Heydekamp
Co-Admin freexp.de
Düsseldorf/Germany
_______________________________________________
Roundcube Development discussion mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/dev

Reply via email to