Jump to content


  • 0
Andersson

How-to create a relay connector

Question

Many times the question comes up in forums how to create a relay connector that works just like it did in Exchange 2003.

At that time it was like…. If the IP address was in the list, that IP was able to relay no matter what.

 

In Exchange 2007/2010 it’s not working that way..

Now we need to create a receive connector, give it a proper name (like Relay Connector) and also set an extra security setting on it.

 

Here are the commands that I usually use to create the relay connector

 

New-ReceiveConnector -Name ‘Relay Connector’ -Usage ‘Custom’ -Bindings ‘*0.0.0.0:25′ -RemoteIPRanges ‘type in the address that should be able to relay’ -Server ‘*Servername’

 

Get-ReceiveConnector -Identity ‘Relay Connector’ | Add-ADPermission -User “NT AUTHORITY\ANONYMOUS LOGON” -ExtendedRights “ms-Exch-SMTP-Accept-Any-Recipient”

 

* 0.0.0.0 – If you’re going to use NLB for this relay connector, type in the NLB (VIP) IP address in here, with 0.0.0.0 it will receive mail on all available ip addresses

* Servername – Type in the Exchange HUB server name in here

With this connector the sender doesn’t need to authenticate so it means that no matter what it is that’s going to send mail with the connector, it will work.

Sometimes a server/device can’t authenticate like a SAN etc, then this will be nice to use.

 

 

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.