• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 253
  • Last Modified:

Finding domain within Send Connectors

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?
  • 3
1 Solution
Something like should produce results:
Get-SendConnector -list | where {$_.addressspace "partner1.com"}
Apologies, missed an argument:
Get-SendConnector -list | where {$_.addressspace -match "partner1.com"}
bruce_77Author Commented:

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?
-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)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now