Microsoft KB Archive/934285

= An e-mail message is not delivered to a document library and Event ID 6874 is logged when you use Forefront Security for SharePoint =

Article ID: 934285

Article Last Modified on 11/20/2007

-

APPLIES TO


 * Microsoft Forefront Security for SharePoint

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows XP and Windows Vista



SYMPTOMS
Consider the following scenario:
 * A Microsoft Office SharePoint Server 2007 farm is running on a server. Other applications are running on another server.
 * Incoming e-mail functionality is enabled for a Microsoft Windows SharePoint Services document library.
 * On an Internet Information Services server, you use Microsoft Forefront Security for SharePoint to scan e-mail messages for unsolicited commercial e-mail (UCE). UCE is also known as spam.

In this scenario, when you send an e-mail message to the document library, you experience the following symptoms:  The e-mail message is not delivered to the document library.  Event ID 6874 is logged in the Application log together with the following description: An error while attempting to create an attachment for an item sent via email. Note This log entry should begin as &quot;An error occurred.&quot; 



CAUSE
This problem occurs because the FSCRealtimeScanner.exe process in Forefront Security for SharePoint runs under the Network Service account. This configuration is by default. Therefore, the FSCRealtimeScanner.exe process does not have access to the SPSTimer service.



WORKAROUND
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To work around this problem, configure the FSCRealtimeScanner.exe process to run under the Local System account. To do this, use set the LegacyScanAccount registry entry to 1 (one). To configure this registry entry, follow these steps:  Stop the FSCController service. After you stop this service, start Windows Task Manager and then verify that the following processes do not appear in the list of running processes:  FSCController.exe FSCRealtimeScanner.exe</li></ul> </li> Start a command prompt. To do this, click Start, click Run, type cmd, and then click OK.</li> At the command prompt, type iisreset /stop, and then press ENTER.</li> At the command prompt, type net stop sptimerv3, and then press ENTER.</li> Modify the registry. To do this, use one of the following steps, depending on the version of Windows that you are running:  For 32-bit versions of Windows, follow these steps: <ol> Click Start, click Run, type regedit, and then click OK.</li> Locate and then click the following registry subkey:

</li> Right-click a blank area in the details pane, point to New, and then click DWORD Value.</li> Type LegacyScanAccount, and then press ENTER to name the new registry entry.</li> Right-click LegacyScanAccount, and then click Modify.</li> In the Value data box, type 1 (one), and then click OK.</li></ol> </li> For 64-bit versions of Windows, follow these steps: <ol> Click Start, click Run, type regedit, and then click OK.</li> Locate and then click the following registry subkey:

</li> Right-click a blank area in the details pane, point to New, and then click DWORD Value.</li> <li>Type LegacyScanAccount, and then press ENTER to name the new registry entry.</li> <li>Right-click LegacyScanAccount, and then click Modify.</li> <li>In the Value data box, type 1 (one), and then click OK.</li></ol> </li></ul> </li> <li>Exit Registry Editor.</li> <li>At the command prompt, type net start sptimerv3, and then press ENTER.</li> <li>At the command prompt, type iisreset /start, and then press ENTER.</li> <li>Send a test e-mail message to the document library. The FSCRealtimeScanner.exe process should now run under the Local System account when you send the e-mail message to the document library.</li></ol>

Additional query words: SPS WSS Antigen

Keywords: kbtshoot kbregistry kbprb kbspam KB934285

-

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

© Microsoft Corporation. All rights reserved.