Generate a WorldClient SessionID
If you run an intranet and want to integrate WorldClient, if you have access to your user’s email addresses and passwords, then this post is for you.
What you’ll need to do is create an web server script (ASP, JSP, Perl or PHP, or other language of your choice) that gathers the user’s username and password from the Database and then posts them to the WorldClient server as if it were ComAgent. The URL to do this is:
http://www.example.com/WorldClient.dll?View=StatusCheck&GetSession=Yes&user=Username&Password=password
This will put the username and password in the log, so if you don’t want to have that liability, you’ll need to create some sort of ASP (or your scripting language) function that POSTs the Username and Password rather then using GET.
The result will return an XML file that will have the SessionID. Parse the XML file for the SessionID, then use that in a URL that looks like this for the redirect:
http://www.example.com/WorldClient.dll?Session=SessionID&View=Main&Frames=Yes
Hope this helps!
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.
LDaemon Optimizer v1.0.0
LDaemon Optimizer v1.0.0
5/15/2003 David L. Koontz
Introduction:
————-
MDaemon’s LDaemon is a porting of the OpenLDAP project. However, there are several inherent problems with LDaemon’s Implementation that effect speed, performance, stability and maintenance of the LDAP database for Mid to large size installations.
1) Using LDaemon as the Server Account Storage is unstable.
2) MDaemon Schema Extension do not scale well with many users
3) LDaemon has no method of removing LDAP Entries
LDaemon Optimizer is the answer! If you want to offer your users LDAP address book lookups from their email clients like Outlook, Netscape, ThunderBird, etc. this tool will help you to provide a
FAST LDAP lookup service, and will keep your LDAP database fresh by removing old MDaemon accounts and adding new ones.
Note: This script currently only works with the text file database setup (Userlist.dat). If there is significant need, a future version may include ODBC setups, or perhaps alias entries.
keep looking »