XFOR: TURFDIR Must Be Manually Created for Message Filtering

ID: Q193926


The information in this article applies to:

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

SYMPTOMS

When using the message filtering option on the Microsoft Exchange Server Internet Mail Service, the default option is to delete the filtered messages. This can be changed to send the messages to a "turf" directory. However, when the option to save the filtered messages is selected, the Exchange Server administrator will notice that the messages are not being saved. The following event will be recorded in the Windows NT Application Log:


   Event ID 4142      MSExchangeIMC        Message Transfer
   Delivery of a message was aborted because it appeared to be an
   impersonation attempt or unwanted bulk mail. The 821 originator was
   joes@spam.net. Either this address or the 822 message triggered this
   based on TurfTable entries  in the registry. The message that caused
   this was PBF3S5YB. This message will not be delivered. It will be copied
   to \turfdir. 


CAUSE

The reason for this behavior is that by default the turf directory is set to \Turfdir in the registry. This directory is not created by the Microsoft Exchange Server setup process.


WORKAROUND

  • Create a directory called Turfdir in the root of the C: drive. This should allow the messages to be copied to that directory.

    - or -


  • Create a directory elsewhere, and change the registry to point to the path of this new directory. You can accomplish this by performing the following steps:

    WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

    For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).

    1. Start Registry Editor (Regedt32.exe).


    2. Locate the TURFDIR value under the following key in the registry:
      
            HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeIMC
            \Parameters\ 
            
      NOTE: The above registry key is one path; it has been wrapped for readability.


    3. Highlight the TURFDIR value and select on the Edit menu, select String. Change the string to reflect the desired path. Add the drive letter if a drive other then C: is desired.


    4. Quit Registry Editor.




Additional query words: imc spam bulk junk turftable

Keywords :
Version : WINDOWS:5.5
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: February 3, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.