Exchange Server 2013 & 2016 – Allowing host/IP anonymous relaying
If you have a host or application that is not capable of authenticating via SMTP but need to be able to relay e-mail from the host or application through your Exchange 2013 or 2016 e-mail server you can setup host/ip based relaying. This allows replaying for the host or app that’s coming from a specific IP address. To enable this feature you have to setup a ‘Relay’ Receive Connector as follows:
- Connect to the Exchange admin center.
- Go to Mail Flow > receive connectors.
- Click the + symbol to add a new receive connector.
- Give the connector a name like “IP_AnonRelayConnector”.
- Select Frontend Transport under the Role.
- Select Custom under the Type.
- Click the Next button.
- Accept the default for the Network adapter bindings.
- Click the Next button.
- Under the Remote network settings, highlight the default entry “0.0.0.0-255.255.255.255” and click the – to delete the entry.
- Click the + symbol to add a new IP address.
- Enter the IP address of the host or application that you want to allow relaying for.
- Click the Save button.
- Go into the new receive connector to edit it and select security.
- Make sure the following are the only items checked
- Transport Layer Security (TLS)
- Externally secured (for example, with IPsec)
- Exchange servers
- Anonymous users
- Click the Save button.
- Restart the Microsoft Exchange Transport Service (command line “Restart-Service MSExchangeTransport”).
- Test that you’re now able to relay through the new connector from the host or application.