Powershell command to Create New Send connector for SmartHost – Exchange 2010

Today I was asked to create a new send connector. Its always good to have your information ready, or ask if not provided before getting started.

  • Name of send connector to be created
  • SMTP address space – e.g *.mail.contoso.com
  • Smart hosts IP address
  • Source servers that will route your emails.

Once ready you run the command in your Exchange powershell:-

new-SendConnector -Name ‘MYSENDCONNECTORNAME’ -Usage ‘Custom’ -AddressSpaces ‘SMTP:*.mail.contoso.com;1’ -IsScopedConnector $true -DNSRoutingEnabled $false -SmartHosts ‘[192.168.11.12]’,'[192.168.11.13]’ -SmartHostAuthMechanism ‘None’ -UseExternalDNSServersEnabled $false -SourceTransportServers ‘LAB-HCP01′,’LAB-HCP02′,’LAB2-HCP01′,’LAB2-HCP02’

 

You can refer to MSDN library link below for a full detail information about each important item to be configured on your send connector such as:-

Usage type:- For Send connectors, the usage type is basically a descriptive label that identifies what the Send connector is used for. All usage type values receive the same permissions.

Network settings:–  Configure how the Send connector routes mail: by using DNS or by automatically forward all mail to a smart host.

Address spaces :- Configure the destination domains that the Send connector is responsible for.

Scope :- Configures the visibility of the Send connector to other Exchange servers in the organization.

Source servers:– Configure the Exchange servers where the Send connector is hosted. Mail that needs to be delivered by using the Send connector is routed to one of the source servers.

(https://msdn.microsoft.com/en-us/library/aa998662(v=exchg.160).aspx)

 

NOTE:-  You can specify SMTP address spaces or non-SMTP address spaces on Send connectors that are configured on Hub Transport servers. You can only specify SMTP address spaces on Send connectors that are configured on Edge Transport servers.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s