Environment

Netmail Archive / Search 6.x

Synopsis

By default, Netmail uses the standard HTTP:80 and HTTPS:443 ports to serve up the administration console on its servers. 
Netmail Search, on the other hand, will bind to non-standard ports HTTP:8888 and HTTPS:8443.

Since it is not always convenient for some organizations to have the end-users directed to non-standard ports, this article will describe how to change this configuration.

Solution

Netmail Archive

To change the ports used by Netmail Archive for the administration console, log into the console and navigate to Archiving->Nodes.
Select a node in the list and choose the Advanced tab to display the ports currently configured.  

Edit these as required, for example changing HTTPS port from 443 to 9090, and Save Changes.  New configuration will take effect the next time the server/services are restarted.

 

Netmail Search

On the Netmail Search server, the configuration can be found in the file C:\Program Files (x86)\Messaging Architects\RemoteProvider\xgwxmlv.cfg

##############################################################################
# Port
##############################################################################
provider.port=6666
provider.http.port=8888  ## port for HTTP (not optional)
provider.ssl=false            ## indicates whether to open HTTPS port as well (see below)

 

The HTTPS configuration can be found in the file C:\Program Files (x86)\Messaging Architects\RemoteProvider\jetty-ssl.xml

<Call name="addConnector">
<Arg>
<New class="org.eclipse.jetty.server.ServerConnector">
<Arg><Ref id="Server"/></Arg>
<Arg>
<New class="org.eclipse.jetty.util.ssl.SslContextFactory">
<Set name="keyStorePath">C:\Program Files (x86)\Messaging Architects\RemoteProvider\KeyStore\jexcon_keystore.jks</Set>
<Set name="keyStorePassword">netmail</Set>
<Set name="keyManagerPassword">netmail</Set>
<Set name="trustStorePath">C:\Program Files (x86)\Messaging Architects\RemoteProvider\KeyStore\jexcon_keystore.jks</Set>
<Set name="trustStorePassword">netmail</Set>
</New>
</Arg>
<Set name="port">8443</Set>
</New>
</Arg>
</Call>
</Configure>

 

Change these to the new/desired ports, for example changing 8443 to 443, and save the files.  New configuration will take effect the next time the server/services are restarted.

Notes