Changing SMTP port in Smart Host in Exchange 2007
I have MS Exchange 2007 64 Bit version installed on my server. I need to send out all external emails through smart host instead of using DNS which I can easily change in the send connector of the Exchange server.
My ISP has set the SMTP port to 26 instead of 25 on the smtp server which I need to change on the send connector. I found an option to change the same through the Exchange Management PowerShell which is the following
You change Send Connector port by using PowerShell. Open Exchange Management Shell and type:Get-SendConnector -Identity "SENDCONNECTORNAME" | fl
Check the port number then typeet-SendConnector -Identity "SENDCONNECTORNAME" -port 26
In this example I set port 26 as SMTP port for sending messages. Check the change by typing
When I type the following command: Set-SendConnector -Identity "SENDCONNECTORNAME" -port 26, it givesthe followingerror: Get-SendConnector : A parameter cannot be found that matches parameter name 'Port'
At line:1 char:46
+ Get-SendConnector -Identity "TCNS SMTP" -Port <<<< 26
Kindly help me changing the SMTP port to 26 from 25 in the smart host option to send out external emails
Vikram Gerald
vikram_gerald@hotmail.com
March 13th, 2008 1:49pm
Use following command instead: (Just tried this out and it's working on Exchange2007 SP1 PostSP1 Rollup1)Set-SendConnector -Identity "TCNS SMTP" -Port 26
Free Windows Admin Tool Kit Click here and download it now
March 25th, 2008 4:43pm
Thanx for the help. Just to inform that I figured out the problem as soon as I posted the problem.
Actually by mistake I was using the "Get" command instead of the "Set" command which I corrected & was able to resolve the issue.
Thanx anyways
Vikram Gerald
March 26th, 2008 9:17am
hiare aware of a way to do this on and iis6 server running smtp service and functioing as a smarthostthanksYariv Bashanyarivb
Free Windows Admin Tool Kit Click here and download it now
June 17th, 2009 9:50pm
Hi
I believe i need to do the same thing here, except im using godaddy as the smart host, so need to change to port3535 apparently. my question is this
what do i put in the "sendconnectorname" bit?
thanks
Michael
March 10th, 2011 5:41am