Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


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:
    Download 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.

↑ Back to the top


Keywords: KB904001, kbexchdirectory, kbtshoot, kbhowto

↑ Back to the top

Article Info
Article ID : 904001
Revision : 3
Created on : 10/25/2007
Published on : 10/25/2007
Exists online : False
Views : 287