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.
Address: ldap://mcis-server.yourdomain.com:389
dn: cn=object@ObjectID@, ou=Members, o=root
changetype: add
cn: object@ObjectID@
accountStatus: 1
mail: @New_PopName@@@default-mail-domain.com
mail: @New_EmailAddress@
userPassword: @New_Password@
objectClass: member
guid: @GUID@
dn: cn=object@ObjectID@, ou=Members, o=root
changetype: delete
dn: cn=object@ObjectID@, ou=Members, o=root
changetype: modify
mail: @New_PopName@@@default-mail-domain.com
mail: @New_EmailAddress@
userPassword:@New_Password@
dn: cn=object@ObjectID@, ou=Members, o=root
changetype: modify
accountStatus: 3
dn: cn=object@ObjectID@, ou=Members, o=root
changetype: modify
accountStatus: 1
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).
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
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.