How to Migrate a Relay Connector in Microsoft Exchange 2013 or 2016?

Started by Adventech, August 18, 2019, 09:28:29 PM

Previous topic - Next topic

Adventech

PROBLEM:
How to Migrate a Relay Connector in Microsoft Exchange 2013 or 2016

SOLUTION:

* Step 1 and 2 can be skipped if you are not keeping the current IP for your relay connector *

1.)  Add a temporary IP address to the current or Old exchange server.
2.)  Run the following power shell command to migrate the connector and the remote IP Ranges.

New-ReceiveConnector "Relay Connector Name" -server SERVER_NAME2 -Bindings 192.168.0.102:25 -RemoteIPRanges (Get-ReceiveConnector "SERVER_NAME1\Relay Connector Name").RemoteIPRanges -TransportRole "FrontendTransport"

Note: IP (192.168.0.102 is a stand in for what you made the temporary IP. You will need to change it in the command.

3.)  On the old exchange server, remove the IP.
4.)  Add that IP to the new Exchange Server.
5.)  Assign the IP to the connector.
6.)  Remove temporary IP from new exchange.
7.)  Allow anonymous relay with the following PowerShell command:

Get-ReceiveConnector "Relay Connector Name" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"

How to assign IP to connector?
1.)  Open "Exchange Admin Center" or open a browser on the exchange server and go to https://localhost/ecp/
2.)  Go to "Mail Flow" > "Recieve Connectors" > "Relay Connector Name" > Click on edit.
3.)  Go to Scoping > "*Network adapter bindings:" click add
4.)  Choose "Specify an IPv4 address" and type in the IP Address.
5.)  Click Save.
Adventech Group, Inc.
Bringing Integrity to Information Technology
https://adventech.net