Article ID: 884068 - View products that this article applies to.
Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/256986/ )Description of the Microsoft Windows Registry
This article discusses an issue where, after you install Microsoft Exchange Server 2003 Service Pack 1 (SP1), e-mail messages are no longer written to the Badmail folder of an Exchange SMTP virtual server.
After you install Exchange 2003 SP1, messages are no longer written to the Badmail folder. This change in behavior prevents the Badmail folder from filling up with messages.
Note The Badmail folder is located at drive:\Program Files\Exchsrvr\Mailroot\Vsi 1\BadMail. In this path name, drive is the drive where Exchange 2003 is installed.
You can manually create two new registry values to change the default behavior. The MaxBadMailFolderSize registry entry is used to specify the maximum size of the Badmail folder. The BadMailSyncPeriod registry entry controls how frequently the system examines the size of the Badmail folder.
If the MaxBadMailFolderSize registry entry is manually created and is set to 0 (zero), messages are not written to the Badmail folder. This is the Exchange Server 2003 SP1 default behavior.
If the value of the MaxBadMailFolderSize registry entry is set to a value other than 0, all Badmail messages are sent to the Badmail folder until the folder size reaches the limit in kilobytes (KB) that is specified in the registry value. When the folder size reaches the limit, messages are no longer sent to the Badmail folder.
If the value of the MaxBadMailFolderSize entry is set to FFFFFFFF, all messages are sent to the Badmail folder. This is the default behavior of versions of Exchange that are earlier than Exchange Server 2003 SP1.
The BadMailSyncPeriod registry entry indicates in minutes how frequently the system examines the size of the Badmail folder. To improve performance, the SMTP Advanced Queuing Engine determines the size of the Badmail folder by reading cached folder size information. When the cached folder size information indicates that the Badmail folder size limit has been reached, messages are no longer delivered to the Badmail folder.
To configure the new MaxBadMailFolderSize and BadMailSyncPeriod registry entries, follow these steps.
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
Article ID: 884068 - Last Review: October 30, 2007 - Revision: 5.2