XADM: Configuring Exchange Server with a Proxy Server

Last reviewed: April 27, 1998
Article ID: Q184593
The information in this article applies to:
  • Microsoft Exchange Server, version 5.0
  • Microsoft Proxy Server version 2.0

SUMMARY

This article describes how to configure a computer running Microsoft Exchange Server to communicate through a computer running Microsoft Proxy Server. The following topics are discussed:

  • Configuring the computer running Microsoft Exchange Server
  • Testing the configuration
  • DNS name resolution

MORE INFORMATION

Configuring the Computer Running Microsoft Exchange Server

  1. Stop all Exchange Server services. To stop a service, follow these steps:

    a. In Control Panel, double-click Services.

    b. Click the service you want to stop, click Stop, and then click Yes.

  2. Install the WinSock Proxy (WSP) Client from the Mspclnt folder on the computer running Proxy Server.

  3. Create a Wspcfg.ini file that contains the following lines in the Exchsrvr\Connect\Msexcimc\Bin folder:

          [MSEXCIMC]
          ServerBindTcpPorts=25
          Persistent=1
          KillOldSessions=1
    

  4. Create a Wspcfg.ini file that contains the following lines in the Exchsrvr\Bin folder:

          [STORE]
          ServerBindTcpPorts=110, 119, 143
          Persistent=1
          KillOldSessions=1
    

  5. Type "chkwsp32 /f" (without quotation marks) at a command prompt, press ENTER, and then verify that the following message is displayed:

          Client control protocol matches the server control protocol.
    

    If any other message is displayed, Domain Name System (DNS) name resolution may not be functioning properly. The Chkwsp32.exe utility performs a DNS name resolution test. A DNS server or HOSTS file must be properly configured so that the Internet protocol (IP) address of the Proxy Server computer can be resolved.

  6. Verify that DNS name resolution is functioning properly. To do so, type the following at a command prompt, and then press ENTER:

          ftp ftp.microsoft.com
    

    If DNS name resolution is functioning properly, you are prompted for a user name and password. To connect to the Microsoft FTP server, type "anonymous" (without quotation marks) for the user name and leave the password blank.

  7. Start the Exchange Server services that you stopped in step 1. To start a service, follow these steps:

    a. In Control Panel, double-click Services.

    b. Click the service you want to start, and then click Start.

NOTE: When you start the Internet Mail Service, a persistent connection to the computer running Proxy Server is established over the ports specified in the above Wspcfg.ini files. This persistent connection causes the computer running Proxy Server to send all inbound communications over these ports to the computer running Microsoft Exchange Server.

Testing the Configuration

To verify that the computer running Microsoft Exchange Server and the computer running Proxy Server are configured properly, use the following steps. If you are able to perform each step successfully, then the servers are configured properly.

  1. Send a message from an e-mail client that is connected to the computer running Microsoft Exchange Server to an e-mail client that is past the computer running Proxy Server.

  2. Send a message from an e-mail client that is past the computer running Proxy Server to an e-mail client that is connected to the computer running Microsoft Exchange Server.

  3. Use the Telnet tool to connect to the computer running Microsoft Exchange Server and send mail to the server. To do so, follow these steps:

    a. Type "telnet" (without quotation marks) at a command prompt, and

          then press ENTER.
    

    b. On the Connect menu, click Remote System.

    c. In the Host Name box, type the fully qualified domain name (FQDN) of

          the computer running Microsoft Exchange Server. The FQDN should be in
          the following format:
    

             <host>.<domain>.<top-level>
    
          where <host> is the server's host name, <domain> is the Microsoft
          Exchange Server organization name, and <top-level> is the top-level
          domain name. For example, "ex1.company.org" (without quotation
          marks).
    
       d. In the Port box, type 25, and then click Connect. If you are able to
          connect to the server, proceed to step E. If are unable to connect
          to the server, verify that inbound packet filtering and DNS name
          resolution are functioning properly, and then try again.
    
       e. Type the following commands, pressing ENTER after each command:
    
             helo <host1>.<domain1>.<top-level1>
             mail from <user2>@<domain2>.<top-level2>
             rcpt to: <user1>@<domain1>.<top-level1>
             data
             This is a test.
             .
             quit
    
          where <host1> is the server's host name, <user1>, <domain1>, and
          <top-level1> are the recipient's user, organization, and top-level
          domain names, and <user2>, <domain2>, and <top-level2> are the
          sender's user, organization, and top-level domain names.
    
       f. Reply to the message you sent in step E.
    
       g. Reply to the message you sent in step F.
    
    

DNS Name Resolution

When you configure a Microsoft Exchange Server computer to communicate through a computer running Proxy Server, you must use a DNS server that can communicate with the Internet.

Keywords          : XADM
Version           : WINDOWS:5.0; WINNT:2.0
Platform          : WINDOWS winnt
Issue type        : kbhowto


================================================================================


Last reviewed: April 27, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.