How do I change Services for Users/Domains in a Batch or Bulk mode?
To make changes to multiple account at one time you can use tool.exe, found in the Merak Folder
This executable allows you to change any settings for any user or domain on your Merak server. Wildcards can be used in User/Domain specification making this a very powerful utility.
Detailed information on the usage of tool.exe Can be found in the Merak Administration Guide.
All the variables which are in file ..\Merak\api\delphi\ApiConst.pas file can be used with tool.exe.
Here is a list of Service Variables:
- D_AntiSpam
- D_Calendar
- D_IM
- D_ChallengeResponse
- D_AVScan
- U_SMTP
- U_POP3IMAP
- U_WebMail
- U_AVScan
- U_AS
- U_CR
- U_IM
- U_GW
Variables starting D_ are for Domains, and U_ are for Users.
Variables are set to a boolean value - 1 to enable or 0 to disable.
Some Examples
tool modify account *@* u_smtp 1
Enables SMTP service for all users in all domains
tool modify account *@merakdemo.com u_im 0
Disables Instant Messaging service for all accounts in merakdemo.com domain
tool modify domain merakdemo.com d_calendar 1
Enables calendar service for merakdemo.com domain
As you can see, this utility can be far-reaching and you should exercise care when using it