Hexamail - Setting up Microsoft Exchange/SBS

IMPORTANT: This page only applies if you are integrating with Exchange or SBS on the same machine, and are not using automatic Exchange integration or the automatic integration was unavailable or failed

Hexamail integrates with all versions of Exchange. However, due to inconsistencies in almost every new the version of Exchange, the procedure for setup is slightly different in each case. Please follow the link below corresponding to your Exchange server version:



Microsoft Exchange 2016


Microsoft Exchange 2013


Microsoft Exchange 2007 - 2010, SBS 2008 - SBS 2011


Microsoft Exchange 2000 - 2003, SBS 2003


Microsoft Exchange 4.0, 5.0, 5.5


Microsoft Exchange, other versions


Microsoft Exchange 2016



The way to have Microsoft Exchange coexist with Hexamail is to have Microsoft Exchange listen to another port besides port 25 (the SMTP mail default port). Let Hexamail listen on port 25 and then tell Hexamail to forward mail on to Microsoft Exchange.

Here are the steps to have Microsoft Exchange and Hexamail coexist:

1) Go to the Microsoft Exchange Administration Center.

2) On the left hand side, go to mail flow

3) Create a new receive connector

4) Set the scoping to all and port 2500

5) Disable the other default receive connectors. Hexamail will listen for email on port 25

6) If you wish Hexamail to also process outgoing email you need to add a send connector On the left hand side, in Exchange 2016 Admin Center go to Mail flow | Send Connectors At the right hand side select New Send Connector

7) Choose to route email thru a smarthost

8) Specify this server

9) You do not need authentication

10) On the next page set the address space to *

11) Address space set to *

12) Specify the source server(s)


Install and Configure Hexamail

1) Install Hexamail

2) Next, set Hexamail SMTP Relay/Mail server settings to point to 127.0.0.1 and your newly configured port (e.g. 2500)







Microsoft Exchange 2013



The way to have Microsoft Exchange coexist with Hexamail is to have Microsoft Exchange listen to another port besides port 25 (the SMTP mail default port). Let Hexamail listen on port 25 and then tell Hexamail to forward mail on to Microsoft Exchange.

Here are the steps to have Microsoft Exchange and Hexamail coexist:

1) Go to the Microsoft Exchange Administration Center.

2) On the left hand side, go to mail flow

3) Double click the receive connector
4) Go to Security

5) Enable the Anonymous Users checkbox. Click OK to save the changes


6) Go to the Network settings

7) Click Edit... and choose Specify an IP address and choose 127.0.0.1

8) Under Port to Use choose 2500. Click OK to save the changes.

9) If you wish Hexamail to also process outgoing email you need to open Exchange System Manager. On the left hand side, in Exchange 2013 go to Mail flow | Send Connectors At the right hand side select New Send Connector

10) Specify the following fields in the wizard that opens: Name: Hexamail Outbound Connector Intended Use: Internet


Address Space: Add one with Address Space * and cost 1 and click OK


Route email through the following smart hosts: Add one with IP address 127.0.0.1 and click OK Choose None for the smarthost authentication settings Leave the source server on the default settings




Install and Configure Hexamail

1) Install Hexamail

2) Next, set Hexamail SMTP Relay/Mail server settings to point to 127.0.0.1 and your newly configured port (e.g. 2500)








Microsoft Exchange 2007 - 2010, SBS 2008 - SBS 2011



The way to have Microsoft Exchange coexist with Hexamail is to have Microsoft Exchange listen to another port besides port 25 (the SMTP mail default port). Let Hexamail listen on port 25 and then tell Hexamail to forward mail on to Microsoft Exchange.

Here are the steps to have Microsoft Exchange and Hexamail coexist:

1) Go to the Microsoft Exchange System Manager.

2) On the left hand side, in Exchange 2007-2013 or SBS2008/2011: go to Server Configuration | Hub Transport | Receive Connectors | Default ...

3) Double click the default receive connector

4) Go to Network.

5) Click Edit... and choose Specify an IP address and choose 127.0.0.1

6) Under Port to Use choose 2500. Click OK to save the changes.

7) Go to Permission Groups.

8) Enable the Anonymous Users checkbox. Click OK to save the changes

9) If you wish Hexamail to also process outgoing email you need to open Exchange System Manager. On the left hand side, in Exchange 2007/2010 or SBS2008: go to Organization Configuration | Hub Transport | Send Connectors At the right hand side select New Send Connector

10) Specify the following fields in the wizard that opens: Name: Hexamail Outbound Connector Intended Use: Internet


Address Space: Add one with Address Space * and cost 1 and click OK


Route email through the following smart hosts: Add one with IP address 127.0.0.1 and click OK Choose None for the smarthost authentication settings Leave the source server on the default settings




Install and Configure Hexamail

1) Install Hexamail

2) Next, set Hexamail SMTP Relay/Mail server settings to point to 127.0.0.1 and your newly configured port (e.g. 2500)








Microsoft Exchange 2000 - 2003, SBS 2003



The way to have Microsoft Exchange coexist with Hexamail is to have Microsoft Exchange listen to another port besides port 25 (the SMTP mail default port). Let Hexamail listen on port 25 and then tell Hexamail to forward mail on to Microsoft Exchange.

Here are the steps to have Microsoft Exchange and Hexamail coexist:

1) Go to the Microsoft Exchange System Manager.

2) On the left hand side, in Exchange 2000: go to Administrative Groups | First Administrative Group | Servers | Server Name (or the name of the Exchange 2000 server). In Exchange 2003: go to Servers | Server Name (or the name of the Exchange 2003 server).

3) Go to Protocols | SMTP | Default SMTP Server.

4) Right-click on Default SMTP Server, then go to Properties.

5) Under the "General" tab, click on the "Advanced" button beside the IP address field.

6) Edit the TCP port information, change it to e.g. 2500. Click OK to save the changes.

Note: "TCP port" is the name used by Microsoft Exchange 2000 to refer to a SMTP port.

7) If you wish Hexamail to also process outgoing email you need to open Exchange System Manager. Go to Servers > Exchange server name > Protocols > SMTP > Default SMTP virtual server > Properties > Delivery > Advanced. In the Smart host dialog box, note down the existing IP address you have there (if any) and then enter the IP address in brackets, e.g. [192.168.2.200] of the machine running Hexamail Guard. Be sure to setup Hexamail's smarthost settings to be the IP address of your current smarthost, as previously noted down.

Install and Configure Hexamail

1) Install Hexamail

2) You will now need to set the SMTP Server setting in Hexamail. If you are installing Hexamail on Windows, the setup program will ask you for the TCP/IP and port of your mail server during the configuration Wizard, or you can change this by opening the administration interface and setting the port on the SMTP Server settings page.

3) Next, set Hexamail SMTP Relay settings to point to your newly configured port (e.g. 2500)








Microsoft Exchange 4.0, 5.0, 5.5

The way to have Microsoft Exchange coexist with Hexamail is to have Microsoft Exchange listen to another port besides port 25 (the SMTP mail default port). Let Hexamail listen on port 25 and then tell Hexamail to forward mail on to Microsoft Exchange.

To make Exchange version 5.5 listen on another port you have to edit a file.

1) With a text editor (such as notepad.exe) edit the file:
C:\Winnt\system32\drivers\etc\services
(Small Business Server: C:\Winnt.sbs\system32\drivers\etc\services)


2) Locate the line that says:


3) Change it to say:

4) Save this file.

5) Restart Exchange


Check the Microsofts FAQ for more information:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q173903

Install and Configure Hexamail

1) Install Hexamail

2) You will now need to set the SMTP Server setting in Hexamail. If you are installing Hexamail on Windows, the setup program will ask you for the TCP/IP and port of your mail server during the configuration Wizard, or you can change this by opening the administration interface and setting the port on the SMTP Server settings page.

3) Next, set Hexamail SMTP Relay (Existing mail server) settings to point to your newly configured port.

4) The 'Outgoing Smart Host' settings should be configured to point to a smarthost at your ISP to deliver outgoing email.


To have Hexamail process all outgoing email as well, open Exchange Administrator and go to Organization > Site > Configuration > Connections > Internet Mail Service Properties. In the Connections Tab go to the 'Message Delivery' section and in the dialog box Forward all messages to host enter the IP address of the machine running Hexamail.











Microsoft Exchange, other versions

The way to have Microsoft Exchange coexist with Hexamail is to have Microsoft Exchange listen to another port besides port 25 (the SMTP mail default port). Let Hexamail listen on port 25 and then tell Hexamail to forward mail on to Microsoft Exchange.

To make early versions of Exchange listen on another port you have to edit a file:

1) With a text editor (such as notepad.exe) edit the file:
C:\Winnt\system32\drivers\etc\services

2) Locate the line that says:


3) Change it to say:

4) Save this file.

5) Restart Exchange




Install and Configure Hexamail

1) Install Hexamail

2) You will now need to set the SMTP Server setting in Hexamail. If you are installing Hexamail on Windows, the setup program will ask you for the TCP/IP and port of your mail server during the configuration Wizard, or you can change this by opening the administration interface and setting the port on the SMTP Server settings page.

3) Next, set Hexamail SMTP Relay settings to point to your newly configured port.