Exchange 2016 Have a receive connector relay outside the domain.

There’s a powershell cmd for that:

New-ReceiveConnector -Name "Anonymous Relay" -Usage Custom -AuthMechanism ExternalAuthoritative -PermissionGroups ExchangeServers -Bindings x.x.x.x:25 -RemoteIpRanges x.x.x.x

(or create a receive connector with the right settings) And then

Get-ReceiveConnector "Anonymous Relay" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
This entry was posted in Exchange 2016, powershell. Bookmark the permalink.