Exchange 2010 Hosted Edition - Setting Send and Receive Connector on Shell
What is the shell command that I should run in order to set up default send and receive connector (accessible from the Internet) using Shell?Jackson Yap APC Hosting http://www.apc.sg/
October 30th, 2010 4:14pm
Hi jackson,
Please use below cmdlet for create send & receive connector.
Send connector : New-SendConnector -Name "Subsidiary Send Connector" -Usage Custom -AddressSpace "*.contoso.com;5","*.fabrikam.com;8" -DNSRoutingEnabled $false -SmartHosts 192.168.1.20 -MaxMessageSize 20MB
Receive onnector :New-ReceiveConnector -Name "Contoso.com Receive Connector" -Usage Internal -RemoteIpRange 192.168.30.1-192.168.30.5
Some More Referenes:
Create an SMTP Receive Connector:
http://technet.microsoft.com/en-us/library/bb125159.aspx
Create an SMTP Send Connector:
http://technet.microsoft.com/en-us/library/aa997285.aspx
Anil
Free Windows Admin Tool Kit Click here and download it now
October 30th, 2010 11:39pm
Hey there,
For receive connector:
New-SendConnector -Name "Default Send Connector" -Usage Custom -AddressSpace "*.mydomain.com;5" -DNSRoutingEnabled $true -MaxMessageSize 20MB
I ran this.. but it seems i still can't send emails out from OWA? Previously I have used EMC to create the send and receive connector (to allow anonymous) and I could both send and receive.
And for receive connector:
New-ReceiveConnector -Name "Default Receive Connector" -Usage Internal -RemoteIpRange 0.0.0.0-255.255.255.255
May I know what should I enter for remoteIPrange to allow receiving of emails from the Internet?
Jackson Yap APC Hosting http://www.apc.sg/
November 1st, 2010 2:18am
Yes! I got the send connector working, but not for the receive connector from the internet yet.Jackson Yap APC Hosting http://www.apc.sg/
Free Windows Admin Tool Kit Click here and download it now
November 1st, 2010 2:30am
Set-ReceiveConnector -Name "Default Send Connector" -PermissionGroups AnonymousUsers,ExchangeUsers,ExchangeServers,ExchangeLegacyServers
I tried to run the above but it ask me for an Identity, and when I enter, it shows Active Directory operation failed.
Jackson Yap APC Hosting http://www.apc.sg/
November 1st, 2010 2:41am
Thanks! Managed to set as anonymous users and allow that. :)Jackson Yap APC Hosting http://www.apc.sg/
Free Windows Admin Tool Kit Click here and download it now
November 1st, 2010 4:02am