Go Premium for a chance to win a PS4. Enter to Win


Finding domain within Send Connectors

Posted on 2011-03-08
Medium Priority
Last Modified: 2012-05-11
Running Exchange 2007 SP2.

We have multiple Send Connectors to partner companies or those we have merged with, about twenty Send Connectors in all.

I know how to view the Properties of a Send Connector (SC) and see which domains it is configured for, but is there a way to find out which Send Connector is being used for a specific domain? For example. say I wanted to find out which SC was used for partner1.com, is there a way apart from going through each SC until I saw partner1.com listed within its Address Space?
Question by:bruce_77
  • 3
LVL 12

Expert Comment

ID: 35074360
Something like should produce results:
Get-SendConnector -list | where {$_.addressspace "partner1.com"}
LVL 12

Expert Comment

ID: 35074373
Apologies, missed an argument:
Get-SendConnector -list | where {$_.addressspace -match "partner1.com"}

Author Comment

ID: 35074529

Thanks for that!

My apologies, but I should have clarified the question better.

I'm actually looking for the Send Connector that routes mail to emea.partner1.com

I guess I could use Get-SendConnector -list | where {$_.addressspace -match "partner1.com"} if EMEA.PARTNER1.COM was explicitly listed, but what if there was a Send Connector for the *.partner1.com namespace? Apart from trying:

Get-SendConnector -list | where {$_.addressspace -match "emea.partner1.com"}

checking to see for results, and if not running what?
LVL 12

Accepted Solution

Nenadic earned 2000 total points
ID: 35074598
-match "partner1.com" should match partner1.com,, emea.partner1.com and *.partner1.com. I'm not near an Exchange Server to double-check the argument, though, so it may require correction tomorrow morning, unless you can try it in the meantime.

Basically, the matching process is the same as for the selection of the connector when there are multiple connectors that could be used.  It starts from right and matches characters.  The one with most matched characters would be used.

- Conn1: *.partner1.com
- Conn2: *
- Conn3: emea.partner1.com

If you're sending an email to user@emea.partner1.com, all three are valid, but Conn3 would be used as it matches the most characters to the address.
(I apologies if this is a bit off topic, perhaps, or if this is something you already know)

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you an Exchange administrator employed with an organization? And, have you encountered a corrupt Exchange database due to which you are not able to open its EDB file. This article will explain all the steps to repair corrupt Exchange database.
Eseutil Hard Recovery is part of exchange tool and ensures Exchange mailbox data recovery when mailbox gets corrupt due to some problem on Exchange server.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question