How to use the Exarcfg.exe tool to turn on and to turn off the Address Rewrite feature in Exchange Server 2003 (904001)



The information in this article applies to:

  • Microsoft Exchange Server 2003 Enterprise Edition
  • Microsoft Exchange Server 2003 Standard Edition

SUMMARY

This article describes how to use the Exarcfg.exe tool to turn on and to turn off the Address Rewrite feature in Microsoft Exchange Server 2003. By default, the Address Rewrite feature in Exchange Server 2003 is turned off. Currently, Exchange System Manager does not include a user interface (UI) that you can use to turn on this feature.

MORE INFORMATION

You can use the Exarcfg.exe tool to turn on or to turn off the Address Rewrite feature on an Exchange Server 2003 Simple Mail Transfer Protocol (SMTP) virtual server. Additionally, you can run the Exarcfg.exe tool on any domain computer that can access Active Directory.

How to use the Exarcfg.exe tool to turn on the Address Rewrite feature

  1. Download the Exarcfg.exe tool.

    The following file is available for download from the Microsoft Download Center:
    DownloadDownload the Exarcfg.exe package now.

    For more information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

    119591 How to obtain Microsoft support files from online services

    Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
  2. Click Start, click Run, type cmd, and then click OK.
  3. Locate the folder in which you installed the Exarcfg.exe tool.
  4. Type the following command:

    exarcfg -e -s server_name -v: SMTP virtual server instance number

    In this command, server_name is the fully qualified domain name (FQDN) of the Exchange server on which you want to turn on the Address Rewrite feature. Additionally, SMTP virtual server instance number is the number that represents the SMTP virtual server instance.
Note If you do not specify the -v option, the command uses the first virtual server instance. Typically, the first virtual server instance is the default SMTP virtual server.

How to use the Exarcfg.exe tool to turn off the Address Rewrite feature

  1. Click Start, click Run, type cmd, and then click OK.
  2. Locate the folder in which you installed the Exarcfg.exe tool.
  3. Type the following command:

    exarcfg -d -s server_name -v: SMTP virtual server instance number

For more information about how to use the Exarcfg.exe tool, open a command prompt, locate the folder in which you installed the Exarcfg.exe tool, and then run the exarcfg /? command. You receive the following message:
Function : Enable/Disable the Exchange Address Rewrite feature

Usage: exarcfg [Optional -l  -e -d -v:2 -s:svr1]
               -l displays the current Address Rewrite settings per server/VSI
               -e enable address rewrite for the server
               -d disable address rewrite for the server
               -s server FQDN
               -v [num] which VS needs to be enabled for address rewrite
               /? Prints this help message
Default values:
       If -v Not Specified, defaults to Virtual Server 1

Example: exarcfg  -s: server_name.domain_name.com  -e -v:2
Note:     The domain must have LDAP service for the search.
Note In this message, server_name.domain_name.com is the FQDN of the Exchange server on which you want to turn on or to turn off the Address Rewrite feature.

Modification Type:MajorLast Reviewed:7/29/2005
Keywords:kbhowto kbtshoot kbexchDIRECTORY KB904001 kbAudITPRO