How can I move the Intelligent Message Filter (IMF) archive folder in Exchange 2003?
Microsoft Exchange Intelligent Message Filter is a product developed by Microsoft to help companies reduce the amount of unsolicited commercial e-mail (UCE), or spam, received by users. You can read more about IMF on the Block Spam with Exchange 2003 Intelligent Message Filter page.
When using IMF to help reduce the volume of Unsolicited Commercial E-Mail (UCE, or most commonly known as Spam) received by your users, one of the configuration options is to archive the received messages that are flagged as spam and have a Spam Confidence Level (or SCL) greater than a certain threshold you find reasonable (I use 7 for my SCL level). Read more about how to Configure Intelligent Message Filter in Exchange 2003 SP2.
Note: When performing the archive operation on the messages that have an SCL that is greater than the threshold you’ve configured (make sure you also read Bug in Intelligent Message Filter Interface), these messages will be placed inside a folder on your server’s hard disk.
The archive folder’s location is usually here:
c:\program files\exchsrvr\mailroot\vsi 1\ucearchive
(replace C:’ with the drive letter of your Exchange installation, and replace VSI 1 with the folder name for your SMTP Virtual Server).
In the above screenshot you see that there are only 2 messages in the folder. This is only a test setup, so there aren’t many messages there. However in a production environment there will be hundreds, if not thousands of spam messages in the folder, and more will be flowing in daily. We need to be able to view and work with these messages. Otherwise I wouldn’t bother archiving them, now would I?
One thing you could do is to move this directory to a larger drive because spam really accumulates over time. Furthermore, if this server is your mail gateway for incoming messages, it might be wise to place this folder on a separate drive altogether.
To move the IMF archive folder’s location to a different hard disk follow these steps:
- Open Registry Editor.
Note: As always, before making changes to your registry you should always make sure you have a valid backup. In cases where you’re supposed to delete or modify keys or values from the registry it is possible to first export that key or value(s) to a .REG file before performing the changes.
- In Registry Editor, navigate to the following registry key:
Note: You might not find this key in place. If that is the case, create a new key under the Exchange key and call it ContentFilter.
- Within the ContentFilter key, create the following value (REG_SZ or String Value):
and enter the new ucearchive folder path, for example D:\ucearchive.
- Close Registry Editor, and restart the Simple Mail Transfer Protocol (SMTP) service.
- When new spam flows in, you’ll notice how it fills the new folder’s location.
If you’ve used any of the tools listed on the View Intelligent Message Filter Archive article, you’ll need to manually update the ucearchive folder’s location in these tools. Also, when looking at the archived items you will notice that they do not have an SCL rating. This is because Exchange IMF does not archive the SCL rating in the message header. In order to keep the SCL rating within the message you will need to read Archiving the SCL Rating in Intelligent Message Filter.
You might also want to read the following related articles:
- Archiving the SCL Rating in Intelligent Message Filter
- Block Spam with Exchange 2003 Intelligent Message Filter
- Block Spam with Exchange 2003
- Block Spam with Outlook 2003
- Bug in Intelligent Message Filter Interface
- Combating Spam in the Corporate Environment
- Configure Intelligent Message Filter in Exchange 2003 SP2
- Display SCL Level in Outlook 2003
- Display SCL Level in OWA 2003 SP2
- Download Exchange 2003 Intelligent Message Filter
- GFI MailEssentials for Exchange/SMTP – more info
- How to Post to Newsgroups Without Getting spammed?
- Installing Intelligent Message Filter with Exchange 2003 SP2
- Sender Policy Framework
- Updating Intelligent Message Filter in Exchange Server 2003 SP2
- View Intelligent Message Filter Archive