Mail Filtering Outbound - Exchange Port 587


Microsoft Exchange

Exchange 2000/2003



Routing all outgoing mails via the outgoing smarthost:


Ensure the IP address is added as an authorized smarthost (without authentication)


Ensure the outgoing user has correct limits set matching your traffic volumes

Update your configuration:


In the Exchange System Manager, expand the Administrative Groups container.

Expand the desired administrative group, and expand the Routing Groups container.


Expand the routing group you need to work with, right-click the Connectors folder, and select New.


Select SMTP Connector.

On the General tab, enter a name to identify the connector.


Select Forward All Mail Through This Connector To The Following Smart Hosts, and enter SMARTHOST


Default SMTP Server -> Properties -> Delivery Tab -> Outbound Connections -> TCP Port set to 587

Routing specific domain destinations via the outgoing smarthost:


For this to work, you should do the things mentioned under Routing all mails to a smarthost and continue:


Under Local Bridgeheads, click Add, and select the SMTP server that will become the SMTP bridgehead for its routing group.

On the Address Space tab, click Add, select SMTP, and click OK.

In the E-Mail Domain box, add the name of the remote location's e-mail domain (e.g., example.com), and click OK.


Click OK three times to exit the SMTP connector configuration.

Restart the Microsoft Exchange Routing Engine service and the SMTP service.


Exchange 2007/2010 Routing all outgoing mails via the outgoing smart host:

Ensure the IP address is added as an authorized smarthost (without authentication)

Ensure the outgoing user has correct limits set matching your traffic volumes

Update your configuration:


A Send Connector must already have been created and configured correctly on the Hub Transport server.

Open Exchange Management Console

Click on the + next to Organization Configuration

Select Hub Transport and

select the Send Connectors tab:


Right-click on the existing Send Connector, select Properties and go to the Network tab.

Select "Route mail through the following smart hosts:" and click Add.

Enter SMARTHOST (you need to use port 587)


If you have more then one Smarthost, repeat the previous two steps.

The changes you've made to the Send Connector will take effect straight away without you having to reboot the server or restart any services.

In order to change the port to 587 you will have to issue the following command in the Exchange Powershell Console:

Set-SendConnector -identity "NAME OF CONNECTOR" -Port:587


Afterwards restart restart the transport service and relaying should work.

Routing all outgoing mails via the outgoing smarthost with Username Authentication:

A Send Connector must already have been created and configured correctly on the Hub Transport server.


Open Exchange Management Console

Click on the + next to Organization Configuration


Select Hub Transport and

select the Send Connectors tab:


Right-click on the existing Send Connector, select Properties and go to the Network tab.

Select "Route mail through the following smart hosts:" and click Add.


Enter SMARTHOST in the FQDN section.

Click 'Change' under the smart-host authentication


Select 'Basic Authentication'

Add your newly created username and password

Click OK


The changes you've made to the Send Connector will take effect straight away without you having to reboot the server or restart any services.

In order to change the port to 587 you will have to issue the following command in the Exchange Powershell Console:

Set-SendConnector -identity "NAME OF CONNECTOR" -Port:587

Afterwards restart restart the transport service and relaying should work.

Exchange 2013/2016

Routing all outgoing mails via the outgoing smarthost:

Ensure the IP address is added as an authorized smarthost (without authentication)

Ensure the outgoing user has correct limits set matching your traffic volumes

Update your configuration:

A Send Connector must already have been created and configured correctly in Exchange Administration Center:

Navigate to Mail Flow

Select Send Connectors

Add a new connector (click the + sign)

Add a relevant name for this connector, Eg: SpamExpertsOutFiltering

Select : Internet (For example, to send internet mail)and click Next

Select Route mail through smart hosts

Add the SMARTHOST by clicking on the + sign


Click Save

Click Next


If you are using an IP outgoing user leave None / If you are using an Authenticating user select Basic Authentication -> Input the Outgoing User and Password

Click Next


*Address space: - > Click the + sign and in the *Full Qualified Domain Name (FQDN): input *

Click Save and Next


*Source server: - Click on the + sign and select the server from the list


Click OK and Finish


You need to ensure that the port 587 is being used:


Open the Exchange Management Shell


Run the following:


Set-SendConnector -identity "NAME OF CONNECTOR" -Port:587


References of SMARTHOST needs to be replaced with your SMTP hostname