Auto Purge Spool\Dead Folder
Document ID: 10522
Synopsis
The \Spool\Dead folder will auto purge after 90 days. This setting can be changed if required.
More Information
The 90 day interval can be changed if necessary. Note that it is recommended to manually inspect the Spool\Dead folder on a regular basis to see the messages in there, and where necessary take corrective action. The most common reason messages end up in this folder is due to loops. There will be a .msg and .txt file for each message. The .txt file can be opened with a text editor and contains details of why the message ended up there. You can example the .msg file also with a text editor and view the original recipients, then examine that mailbox in MailSite.
Registry Setup
Incorrectly editing the registry can damage the server, please be sure you know what you are doing
- Open regedit and go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SMTPDA
- Create a new property (DWORD) called DeadFolderPurgeIntervalSecs
- Give this a value upon which you wish to purge. For example: The time is specified in seconds so for 30 days this would be 2592000
- You will then need to restart the services
SQL Connector
- Open SQL Manager and navigate to the MailSite Database.
- Open the 'MailServerProperties'
- Enter the following:
ServiceName = smtpda
PropertyName = DeadFolderPurgeIntervalSecs
ServerRoldID = 0
PropType = 4
PropIntValue = 2592000
PropStringValue = null
- Restart SMTPDA
This feature works by deleting messages older than its value with checks being run roughly every 10% of its value. So in the case of the example above, roughly every 3 days messages that are older than 30 days will be deleted.