All you need to do for transferring the 2003 settings to Exchange 2007 is to run the Exchange2007AntiSpamMigration.exe. However, as there is no corresponding startup folder, you need to run the tool from the command prompt. The format of the command is given below:
Exchange2007AntiSpamMigration [/f:<full path to custom_words_file>] [/o:<output_file_name>]
- /f: is optional and is used to specify the file that contains the custom words used in Exchange 2003. If the option is not used, the custom words are not transferred to Server 2007.
- /o: is also optional. You can specify the output file name and destination as per your wish. If you do not use the option, a default file created in the current directory and is named MigratedSettings.ps1.
When you run the command (see Fig 1 in next section), the Anti Spam Migration Tool does the following:
1. Reads the settings stored in the Active Directory section of Server 2003;
2. Converts the settings to equivalent tasks for Exchange 2007; and,
3. Writes them as a PowerShell script to the file you specified with the option "/o:" or to “MigratedSettings.ps1” in case you did not specify any filename. You can view the settings on Notepad (see fig 2 in the next section).
At this stage, the Anti Spam Agents are not installed in the Exchange Management Console as the Edge Transport turns it off by default. Though you can run the script without the Anti Spam Agents installed, I would recommend you add the Anti Spam Agent before proceeding. To add the agent, run the file AntispamAgents.ps1 located in C:\Program Files\Microsoft\Exchange Server\Scripts. Once you run the script, the Anti Spam Agents are installed (see fig 3 in the next section).
The final step is to run the PowerShell script generated from the Anti Spam Migration Tool (see fig 4 in the next section). This will automatically configure the Exchange 2007 based on the configuration of your Server 2003.
The process of transferring the settings from Exchange 2003 to Exchange 2007 becomes very easy when you use the Anti Spam Migration Tool. During the transfer process, the Anti Spam Migration Tool matches the records in Exchange 2003 to create new records in Exchange 2007. These new records may have some different names. For details on how the Anti Spam Migration Tool matches the records between 2003 and 2007 Servers, please consult the documentation available in the folder where the tool is installed.