MSW5CMD

 

 

What:
A tool to control Mailsweeper 5 from a commandline or scripts


 

How does it work ?
Mailsweeper is having a WebService there lets other tools Config and control Mailsweeper, this tool use the WebService by accessing it via port 80 (or 443 if you are using SSL), so this tool does not need to be on the Mailsweeper server to control it, it only need access to the Webservice.



 

Case ideas
I build this tool, so I can update addresses lists on a Mailsweeper server in the DMZ and we do not allow Mailsweeper to access the internal LDAP because of security... so we puss the addresses lists out to Mailsweeper instead of the LDAP pulling.
It also only update them when there has been a change and not every xx hours like the LDAP pulling do.

 

 

Commands in the tool
Command line Comment
msw5cmd version Verify the app version
   
msw5cmd setup -display Displays this Config of the tool there is stored in the msw5cmd.dat
msw5cmd setup -WSurl:url Config the Webservice URL and stored it in the msw5cmd.dat
msw5cmd setup -WStimeout:nn Config the timeout time when trying to access the webservice
msw5cmd setup -WSUser:Username Username to login into the Webservice
msw5cmd setup -WSPWD:Password Password to login into the Webservice
   
msw5cmd login -verify Testing that the access and login to the webservice is working
   
msw5cmd nodes -ListConfiguredNodes To list the nodes in the array and info about them
msw5cmd nodes -ListGicComponents List GIC Components
   
msw5cmd addresslist -List To list all address list names
msw5cmd addresslist -Exist:Everyone Verify that a address list exist
msw5cmd addresslist -Export:Everyone -Outputfile:everyone.txt Export address list to address file
msw5cmd addresslist -Import:Everyone -Inputfile:everyone.txt Import a address file to a address list
   
msw5cmd documentation -outputfile:mswdoc.html Write a documentation file based on the Mailsweeper config




Download:

File

Date

Platform

Version

Note

msw5cmd.1.2005.06.22.beta.zip

2005-06-22

Windows / Intel 32 bit

1.2005.06.22

Beta




Support forum
http://www.tooms.dk/forum/forum.asp?FORUM_ID=11