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

problems setting Set-SendConnector in Exchange Management Shell

I am trying to do: SET-SENDCONNECTOR -identity "MAIL\Default Mail" -MaxMessageSize 15MB, and I get the error  "The operation could not be performed because object 'MAIL\Default Mail' could not be found on domain controller 'MAIL.hprs.local'." yet that's exactly what's listed as the identity (see attached image).

what's my problem?

  • 3
2 Solutions
use the GUID number   - identity "dfa5f975****" insted of identity "mail\Deault Mail"
jmarkfoleyAuthor Commented:
Nope, same error:
Set-SendConnector : The operation could not be performed because object 'dfa5f975-f0ac-40fe-a57d-f87d27534e5f' could not be found on domain controller 'MAIL.hprs.local'.
Set-sendconnector -Identity xxx -MaxMessageSize 100MB -domaincontroller <name of the local domain controller>

Use the above command by specifying the dc value
jmarkfoleyAuthor Commented:
My fault after all. Apparently, the Identity is different for the Transport and the Connector (see code snippet). I did the following:

[PS] C:\Windows\system32>SET-SENDCONNECTOR -IDENTITY "Windows SBS Internet Send MAIL" -MaxMessageSize 15MB

[PS] C:\Windows\system32>Get-sendconnector | List

AddressSpaces                : {smtp:*;1}
AuthenticationCredential     :
Comment                      :
ConnectedDomains             : {}
ConnectionInactivityTimeOut  : 00:10:00
DNSRoutingEnabled            : True
DomainSecureEnabled          : False
Enabled                      : True
ForceHELO                    : False
Fqdn                         : mail.ohprs.org
HomeMTA                      : Microsoft MTA
HomeMtaServerId              : MAIL
Identity                     : Windows SBS Internet Send MAIL

Open in new window

jmarkfoleyAuthor Commented:
Point to both of you anyway for the interest
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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