There are 2 command should be run at Powersell console:
1. To create a Receive connector. Here is a command:
New-ReceiveConnector -Name "Anonymous Relay" -Usage Custom -PermissionGroups AnonymousUsers -Bindings 192.168.1.35:25 -RemoteIpRanges 192.168.10.5
Note:
In this example 192.168.1.35:25 is IP of Exchange server. 192.168.10.5 is IP of Remote Mail Server
2. The second command adds to ANONYMOUS user permissions to use just created connector. Here is a command:
Get-ReceiveConnector "Anonymous Relay" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
If you enjoyed this post consider subscribing via or Email
No comments:
Post a Comment