Microsoft KB Archive/904001

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

Article ID: 904001

Article Last Modified on 10/25/2007

-

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
 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. Click Start, click Run, type cmd, and then click OK. Locate the folder in which you installed the Exarcfg.exe tool. Type the following command: 

exarcfg -e -s  -v:

In this command,  is the fully qualified domain name (FQDN) of the Exchange server on which you want to turn on the Address Rewrite feature. Additionally,  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
 Click Start, click Run, type cmd, and then click OK. Locate the folder in which you installed the Exarcfg.exe tool.</li> Type the following command: 

exarcfg -d -s  -v:

</li></ol>

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:

<pre class="fixed_text">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,  is the FQDN of the Exchange server on which you want to turn on or to turn off the Address Rewrite feature.

Additional query words: XADM

Keywords: kbhowto kbtshoot kbexchdirectory KB904001

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.