O'Reilly logo

Microsoft Exchange Server 2013 PowerShell Cookbook - Second Edition by Mike Pfeiffer, Jonas Andersson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Allowing application servers to relay mail

When you deploy Exchange 2013, 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 CAS or Mailbox 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 '192.168.1.245:25' `
-Fqdn mail.contoso.com `
-RemoteIPRanges 192.168.1.110 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required