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

x
?
Solved

problems setting Set-SendConnector in Exchange Management Shell

Posted on 2010-09-22
5
Medium Priority
?
1,185 Views
Last Modified: 2012-05-10
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?

Set-SendConnector.jpg
0
Comment
Question by:jmarkfoley
  • 3
5 Comments
 

Accepted Solution

by:
aaljailani earned 1000 total points
ID: 33741158
use the GUID number   - identity "dfa5f975****" insted of identity "mail\Deault Mail"
0
 
LVL 1

Author Comment

by:jmarkfoley
ID: 33741191
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'.
0
 
LVL 26

Assisted Solution

by:e_aravind
e_aravind earned 1000 total points
ID: 33741242
Set-sendconnector -Identity xxx -MaxMessageSize 100MB -domaincontroller <name of the local domain controller>

Use the above command by specifying the dc value
0
 
LVL 1

Author Comment

by:jmarkfoley
ID: 33746530
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

0
 
LVL 1

Author Closing Comment

by:jmarkfoley
ID: 33746538
Point to both of you anyway for the interest
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

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.
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
how to add IIS SMTP to handle application/Scanner relays into office 365.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
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