Two node mail session creation on Windows - CustomerID

Setting Up a Mail Session

The mail session is set up by executing the script config-wildfly-domain-mailsession.sh

cd %PROGRAMFILES%\ubisecure\customerid\tools
config-wildfly-domain-mailsession.cmd

NOTE: You need to have defined email related configuration in win32.config in order for the above script to work. If you are not going to send emails from Ubisecure CustomerID then this step can be skipped.

If there's a need to change mailSession settings, you can use the following script to remove the currently defined mailSession

config-wildfly-domain-mailsession-remove.cmd

This script removes the currently defined mail session and associated outbound TCP socket. Note that the script also restarts the master and customerid-slave nodes. If you want to change mail session parameters, make the desired changes to linux.config, then run setup.sh and finally you can run the config-wildfly-domain-mailsession.cmd to deploy the new settings.