Memorise

Creating Exchange 2010 Relay for Anonymous

This example uses the New-ReceiveConnector cmdlet to create the Receive connector Anonymous Relay that listens on local IP address 192.168.10.1 on port 25 from a source server at IP address 192.100.2.30

New-ReceiveConnector -Name "Relay Mail" -Usage Custom -PermissionGroups AnonymousUsers -Bindings 192.168.10.1:25 -RemoteIpRanges 192.100.2.30

Use the Shell to grant relay permission to anonymous connections on the new Receive connector

Note: You can’t use the EMC to perform this task.

This example retrieves the specified Receive connector information and pipes the result to the Add-ADPermission cmdlet to grant relay permission to anonymous connections on the new Receive connector.

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

Categorised as: Exchange, Microsoft, Networking


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.