So you’re working with Exchange 2007/2010 and you’ve got the need to allow some internal applications, PCs, or servers to relay mail through the Exchange server, but it doesn’t seem to be working even though you’ve got the receive connector created with the right properties:
- Connector type: Custom
- Authentication: TLS, Externally Secured
- Permission Groups: Anonymous
- Network: IP addresses listed of the servers/PCs you want to be able to relay from
You need to do one last step to allow anonymous logon/relay, but it needs to be done with the Exchange Management Shell (EMS).
Let’s say your connector is named Internal Relay. Run the following command in EMS: Get-ReceiveConnector “Internal Relay” | Add-ADPermission -User “NT AUTHORITY\ANONYMOUS LOGON” -ExtendedRights “Ms-Exch-SMTP-Accept-Any-Recipient”
That should do it. Test relay and you should see that it is successful.