
Main Menu
Brad's TechTips - Exchange Server & Outlook
[<<
Full list of Exchange Server & Outlook tips.]
Exchange Server 2010: Configure Exchange Server to Permit Anonymous Relay from a Specific IP Address
This feature is useful (as an example) if you want to allow a device on your network such as a printer sitting at 192.168.0.25 to send notifications through your Exchange Server at 192.168.0.10. Or, you might want to configure relay so that your outsourced spam filtering service can send messages through your Exchange Server.
Set up a new Receive Connector on the Hub Server to allow relaying.
Exchange Server 2010: Configure Exchange Server to Permit Anonymous Relay from a Specific IP Address
This feature is useful (as an example) if you want to allow a device on your network such as a printer sitting at 192.168.0.25 to send notifications through your Exchange Server at 192.168.0.10. Or, you might want to configure relay so that your outsourced spam filtering service can send messages through your Exchange Server.
Set up a new Receive Connector on the Hub Server to allow relaying.
- Expand Server Configuration from the Exchange Management Console
- Choose Hub Transport from the server roles list.
- In the Details Pane choose the appropriate hub transport server.
- In the Properties Pane, right click in the Receive Connectors tab and choose New Receive Connector.
- Give the connector a friendly name such as Printer Relay,
select the intended use (internal, Internet, etc) and choose Next.
- In the Local Network page: If you haven’t made any
customization to the IP settings of the Hub Server, keep the
defaults. Otherwise, use the settings appropriate for your Exchange
Server.
- Click New and then Finish on the Completion page.
- Open the newly created connector in the bottom, Properties
Pane and go into the Network tab.
- Remove the default entry from the Remote Servers section, and then add the IP address or range
from which you want to permit relay. In our printer example,
this would be 192.168.0.25.
- In the Permission Groups tab, select Anonymous users and click OK.
- Open the Exchange Management Shell from Start -> Programs -> Microsoft Exchange Server -> Exchange Management Shell.
- Type the following command, all on one line, replacing
<ConnectorName> with the friendly name of the connector that you
just created:
Get-ReceiveConnector "<ConnectorName>" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "ms-Exch-SMTP-Accept-Any-Recipient"
In our printer example, replace <ConnectorName> with Printer Relay:
Get-ReceiveConnector "Printer Relay" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "ms-Exch-SMTP-Accept-Any-Recipient"
- You should see the results screen indicating success.