MCIS 2.0 Email account management

  1. LDAP solution.

  2. VB script solution.

  3. VB scripts parameters.

  4. Examples

Rodopi is creating accounts on the MCIS Mail Server systems with event scripts. We have several LDAP and VB scripts to manage the basic functionality of MCIS 2.0 Mail Server.

1. LDAP solution.

Address: ldap://mcis-server.yourdomain.com:389

2. VB script solution:

We have several VBS and command scripts to manage the basic functionality of the mail server in MCIS 2.0.

mkmail.vbs - Creates E-Mail Account;

delmail.vbs – Deletes E-Mail Account;

actmail.vbs - Suspends/Releases E-Mail Account;

chngmail.vbs - Updates E-Mail Account.

dsfndobj.exe - Provides a fast search in the DS. Its result is useful for "chngmail.vbs" and " mkmail.vbs" (See   "mail_updated_" and "mail_inserted_" files).

 

3. VB scripts parameters.


To see how to use every script just start it without parameters. Example:

cscript script_name.vbs


actmail.vbs
Usage:
actmail <--user|-u UserName> <--status|-s UserStatus> <--root|-r DSRoot> [--help|-?]
Example:
actmail -u Someone -s 1 -r LDAP://SOMEHOST:389/o=SomeRootDN/ou=members

chngmail.vbs
Usage: chngmail <--user|-u UserName>
<--email|-m UserName@domain.com>
<--newuser|-nu NewUserName>
<--newpass|-np NewPassword>
<--newemail|-nm NewUserName@dmn.com>
<--mailpresent|-mp 0/1>
<--domain|-d DefaultDomain>
<--root|-r DSRoot>
[--help|-?]

Example:
chngmail -u Someone -m Someone@SomeDmn.com -nu Newone -np NewPass -nm NewName@dmn.com -mp 0 -d DefDmn.com -r LDAP://SOMEHOST:389/o=SomeRootDN/ou=members


delmail.vbs
Usage: delmail <--user|-u UserName>
<--email|-m UserName@domain.com>
<--root|-r DSRoot>
[--help|-?]

Example:
delmail -u Someone -m Someone@SomeDomain.com -r LDAP://SOMEHOST:389/o=SomeRootDN/ou=members




mkmail.vbs
Usage: mkmail <--user|-u UserName>
<--password|-p Password>
<--email|-m UserName@domain.com>
<--domain|-d DefaultDomain>
<--root|-r DSRoot>
[--help|-?]

Example:
mkmail -u Someone -p Password -m Someone@SomeDomain.com -d DefaultDomain.com -r LDAP://SOMEHOST:389/o=SomeRootDN/ou=members


 

4. Examples

To see Rodopi installation configured for MCIS 2.0 Mail Server click here. This is the page: RODOPI Main Menu / Administration / Event Scripts. In this example you can see what scripts you need in Rodopi to automatycally handle account creation for email, web and radius.

Warning: These are only sample scripts. You need to change them for your configuration.