Friday, October 9, 2009

SMTP Relay with Exchange 2007 - Part 1

Problem: We needed to allow specific servers / applications to send through our Exchange servers without first authenticating.

Solution: In order to do this we setup a send connector on our Exchange HUB servers that allowed any of the specified IP's to send without authentication.

Powershell to setup the Exchange Connector:

$remoteserver = ''
$emaildomain = ''
$HubServers = get-exchangeserver | where { $_.ServerRole -match "HubTransport" }
$HubServers | new-ReceiveConnector -Name 'SMTP-Relay' -Usage 'Custom' -Bindings '' -Fqdn '' -RemoteIPRanges '' -AuthMechanism Tls,ExternalAuthoritative -PermissionGroups ExchangeServers

No comments:

Post a Comment