Changing the default port of an Exchange Server Send Connector

AID: 2857
  • Status: Published

4140 points

  • Bydemazter
  • TypeTips/Tricks
  • Posted on2010-04-13 at 01:53:39
Awards
  • Community Pick

This post is going to cover the process involved in specifying a port other than the default (port 25) for the Send Connector in Exchange 2007 and 2010

Why would you want to?

Perhaps you have a SPAM or Virus appliance that requires you to send it mail on a different port number.  Or your ISP requires that you use a different port when forwarding email to their smarthost.  There are a number of different reasons why you would want to do this, most of which are designed to combat the ever growing SPAM problems.

In previous versions of Exchange, this change was fairly straight forward. We would just create a new SMTP Virtual Server and assign it the appropriate port.

With Exchange 2007 & 2010 there is no Graphical User Interface (GUI) to do this for us so we must use the Exchange Management Shell.

We first need to find the identity or name of the send connector.

The name of the Send Connector can be found in the Exchange Management Console under Organisation Configuration > Hub Transport > Send Connectors.  Alternatively you can run the following command in the Exchange Management Shell:

Get-SendConnector | fl

This will display the details of all send connectors.  Look for the line where the identity is specified.  We will need this in the next command.

To make the change to the port number, we must run the following command:

Set-SendConnector -Identity "Send Connector Name" -port 28

This command will set the port to 28.

The section of the command identified by the switch -Identity "Send Connector Name" needs to be the name you obtained from the Get-SendConnector command you issued earlier on the Exchange Management Console.

Further Reading
For further information regarding SMTP Virtual Server please see: http://technet.microsoft.com/en-us/library/aa997301(EXCHG.65).aspx

For further information regarding Send Connectors please see:
http://technet.microsoft.com/en-us/library/aa998662.aspx

Asked On
2010-04-13 at 01:53:39ID2857
Tags

Send connector

,

Exchange 2007

,

Exchange 2010

,

get-sendconnector

,

set-sendconnector

,

port number

Topic

Exchange Email Server

Views
2567

Comments

Expert Comment

by: jgartrell on 2011-04-19 at 17:09:33ID: 25883

You rock on this!!! I am having to setup an sbs 2011 server from sbs 2003 and had forgot my ISP changed to port 225. Could not send then looked this up and WHAM it worked!!!

Thanks again

Add your Comment

Please Sign up or Log in to comment on this article.

Loading Advertisement...

Top Exchange Experts

  1. demazter

    454,990

    Wizard

    17,000 points yesterday

    Profile
    Rank: Genius
  2. alanhardisty

    248,153

    Guru

    14,330 points yesterday

    Profile
    Rank: Genius
  3. akicute555

    133,743

    Master

    4,800 points yesterday

    Profile
    Rank: Wizard
  4. jordannet

    91,192

    Master

    1,010 points yesterday

    Profile
    Rank: Wizard
  5. apache09

    73,654

    Master

    2,000 points yesterday

    Profile
    Rank: Genius
  6. e_aravind

    59,473

    Master

    2,100 points yesterday

    Profile
    Rank: Genius
  7. Neilsr

    57,303

    Master

    2,000 points yesterday

    Profile
    Rank: Genius
  8. endital1097

    56,120

    Master

    2,020 points yesterday

    Profile
    Rank: Genius
  9. Radweld

    48,979

    0 points yesterday

    Profile
    Rank: Guru
  10. amitkulshrestha

    47,486

    0 points yesterday

    Profile
    Rank: Sage
  11. Akhater

    46,704

    6,084 points yesterday

    Profile
    Rank: Genius
  12. Rajkumar-MCITP

    44,434

    200 points yesterday

    Profile
    Rank: Master
  13. Exchange_Geek

    41,086

    9,246 points yesterday

    Profile
    Rank: Sage
  14. HendrikWiese

    38,041

    50 points yesterday

    Profile
    Rank: Wizard
  15. MDMOJAHID

    29,496

    0 points yesterday

    Profile
  16. sekar_raj32

    29,418

    0 points yesterday

    Profile
    Rank: Master
  17. roybridge

    25,764

    0 points yesterday

    Profile
    Rank: Wizard
  18. leew

    25,431

    0 points yesterday

    Profile
    Rank: Savant
  19. sirakov

    24,452

    2,400 points yesterday

    Profile
    Rank: Master
  20. Shivkumar

    22,728

    0 points yesterday

    Profile
    Rank: Guru
  21. MegaNuk3

    22,423

    30 points yesterday

    Profile
    Rank: Genius
  22. Sulimanw

    21,704

    0 points yesterday

    Profile
    Rank: Sage
  23. lucid8

    21,000

    0 points yesterday

    Profile
    Rank: Sage
  24. Govvy

    21,000

    0 points yesterday

    Profile
    Rank: Wizard
  25. jjmck

    20,764

    0 points yesterday

    Profile
    Rank: Genius

Hall Of Fame