Changing and overriding WorldClient user preferences

Lets say you wanted to force a specific setting for all WorldClient users.  For example, say you want to show all folders to all users, regardless of whether or not they are subscribed.  This is possible, if you’re willing to edit some configuration files.

Although it’s possible modify nearly any WorldClient setting this way, I’ll use this one as an example.

This particular setting is called “HideUnsubscribedFolders” and it potentially lives in \MDaemon\WorldClient\domains.ini in several places (potentially), and in each user’s $MAILBOX$\WC\user.ini

The domains.ini file is fairly complex in terms of INI files, but it’s fairly straightforward once you understand it’s format.

To set the default for all users who have not changed it themselves, look for the [default:UserDefaults] section and set the appropriate option (in this case HideUnsubscribedFolders=No)

The fun part is this: To force a setting to apply to all users and override their own settings, use “UserOverrides” instead of “UserDefaults” — In other words, look for or create the section [default:UserOverrides] and add the “HideUnsubscribedFolders=No” command.

To make a change apply to just one domain, use the domain name instead of “default”, for example, use [example.com:UserDefaults] or [example.com:UserOverrides]

For your own information, user options are stored in the “user.ini” file located in the “WC” subfolder of a user’s mailbox — Any option in the [User] section can be applied as a default or an override as desired.

CC BY-NC-ND 4.0 Changing and overriding WorldClient user preferences by Dave Warren (everything-mdaemon.com) is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.