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