MSExchangeTransport 9004
This article provides an explanation and possible resolutions for a specific Exchange event. If you don't find what you’re looking for here, try searching Exchange 2010 Help.
Details
Product Name |
Exchange |
Product Version |
14.0 |
Event ID |
9004 |
Event Source |
MSExchangeTransport |
Category |
Pickup |
Symbolic Name |
CannotDeleteFile |
Message Text |
File(s) cannot be deleted from %1 by the Pickup directory. This may cause duplicate mail. Please verify that the Network Service account has "Delete Subfolders and Files" permission for this directory. |
Explanation
This Error event indicates that the Network Service user account on the Hub Transport Server or Edge Transport server does not have the correct permissions assigned to it on the Pickup directory or on the Replay directory. When you copy message files into the Pickup directory or the Replay directory, the message files are deleted after they have been successfully submitted for delivery. If the submitted message files cannot be removed from the directory, they can be submitted again during the next directory polling interval.
The Pickup directory location is controlled by the PickupDirectoryPath parameter on the Set-TransportServer cmdlet. By default, the Pickup directory is located at %ExchangeInstallPath%\TransportRoles\Pickup. The Replay directory location is controlled by the ReplayDirectoryPath parameter on the Set-TransportServer cmdlet. By default, the Replay directory is located at %ExchangeInstallPath%\TransportRoles\Replay.
If you change the location of the Pickup directory or the Replay directory, the Microsoft Exchange Transport service uses the security credentials of the Network Service user account to create the new directory and apply the correct permissions. If the new directory does not already exist, and the Network Service account has the permissions that are required to create folders and apply permissions at the new location, the new directory is created, and the correct permissions are applied to the directory. If the new directory already exists, the existing folder permissions are not checked.
User Action
To resolve this error, verify that the directory that is specified in the error message text has the following permissions assigned to the Network Services user account:
List Folder/Read Data
Read Attributes
Read Extended Attributes
Create Files/Write Data
Create Folders/Append Data
Write Attributes
Write Extended Attributes
Delete Subfolders and Files
Read Permissions
For more information, see the following topics:
For More Information
If you are not already doing so, consider running the Exchange tools, which have been created to help you analyze and troubleshoot your Exchange environment. These tools can help make sure that your configuration aligns with Microsoft best practices. They can also help you identify and resolve performance issues and improve mail flow. To run these tools, go to the Toolbox node of the Exchange Management Console. To learn more about these tools, see Managing Tools in the Toolbox.