Relaying from internal servers through Exchange 2007

This is a very common request. People have internal servers which need to send email.

The MSExchangeTeam blog has a great article about it here:

What I tend to use is the following script:

New-ReceiveConnector -Name ?Internal SMTP Relay? -Usage Custom -Bindings, -Fqdn -RemoteIPRanges, -Server LDN-ECA-02 ?AuthMechanism TLS, ExternalAuthoritative ?PermissionGroups ExchangeServers ?MaxMessageSize 50MB


This allows the servers at and to relay. The connector will listen on port 25 and 587 at the IP