Allowing application servers to relay mail

When you deploy Exchange 2010, you may be required to allow external devices to relay mail off of your servers. This may be an application server or a physical device such as a copier or printer. In order to allow these external systems to anonymously relay mail, you'll need to configure receive connectors on your hub transport servers that support this. In this recipe, we'll take a look at how you can do this with the Exchange Management Shell.

How to do it...

When implementing an unauthenticated relay, it is wise to use a dedicated receive connector for this purpose:

New-ReceiveConnector -Name Relay ` -Usage Custom ` -Bindings '' ` -Fqdn ` -RemoteIPRanges ...

Get Microsoft Exchange 2010 PowerShell Cookbook now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.