Home > Microsoft Exchange Tips > Exchange Server Administration Tips > Exchange Server 2003 SP1 makes BADMAIL disappear
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SERVER ADMINISTRATION TIPS

Exchange Server 2003 SP1 makes BADMAIL disappear


Serdar Yegulalp, Contributor
09.13.2004
Rating: -4.50- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Exchange Server's BADMAIL folder is the "dumping ground" for email messages that cannot be delivered successfully, or for the non-delivery reports (NDRs) for those messages. In Unix email terms, this is roughly the same as the dead.letter file.

BADMAIL messages are mostly used for diagnosing on-going problems with email. If the Exchange server encounters a great many email delivery failures, the BADMAIL folder fills up quickly and needs to be manually purged. Since there's one BADMAIL folder per virtual server, these files can get quite prolific.

Exchange 2003 Service Pack 1 changes this behavior. After a good deal of negative user feedback about the BADMAIL folder gobbling excessive amounts of server space (often without the administrator realizing it, or even bothering to make use of the files in it), the default behavior for BADMAIL was changed.

More on Exchange Server's BADMAIL folder:

Spam email filling up BADMAIL folder in Exchange Server 

Is there any way to get a summary of all BADMAIL for a given period?

Keep your BADMAIL good and clean

Once Exchange 2003 SP1 is applied, NDRs and the like are not written to the BADMAIL folder; they simply disappear. For most administrators who never have to bother with BADMAIL, this is a blessing; they can clean the folder out and forget about it.

However, what if you need to turn BADMAIL reporting back on? Doing that requires a registry edit, but by doing so you can also set BADMAIL behavior a lot more flexibly than before. To change this behavior, edit a DWORD setting in HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\SMTPSVC\Queuing.

The value to add or change, MaxBadMailFolderSize, is the maximum size in kilobytes allotted to each BADMAIL folder. Once this amount of space is used up in a BADMAIL folder, no more messages will be written to it.

Set this value to -1 (decimal) to allow for an unlimited folder size (i.e., the pre-SP1 behavior). Set it to 0 (the default in SP1) to not write to the folder at all. Note that newer messages do not delete older ones; once the folder size is reached, no more new messages are written.

Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter.

Do you have a useful Exchange Server tip to share? Submit it to our monthly tip contest and you could win a prize.


Rate this Tip
To rate tips, you must be a member of SearchExchange.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Exchange Server Administration Tips
Remove Exchange 2003 objects from AD to install Exchange 2010
Don'ts for optimal Exchange 2007 mailbox server efficiency
Is your Exchange 2007 hub transport server healthy?
Avoid Outlook 2007 performance issues during repairs
Developing an Exchange 2007 server role DR plan
How DSAccess service improves Exchange Server 2007 reliability
An introduction to the Exchange Remote Connectivity Analyzer tool
Monitor Exchange 2007 with disk- and RPC-related counters
DPM 2007 replica inconsistencies in Exchange databases
Track Exchange 2007 mailbox server health using database counters

Microsoft Exchange Server 2003
Remove Exchange 2003 objects from AD to install Exchange 2010
Leapfrogging from Exchange 2003 to Exchange 2010
Top 5 Exchange ActiveSync tips
Exchange Mailbag: POP3 settings and Outlook issues
Migrating to Exchange 2007 with correct permissions
Problems receiving email from outside a Exchange Server 2003 domain
Exchange admins: Is it time to rethink your email address policy?
Exchange Server 2003 collects email from only specific POP3 domains
Changing email address formats in Exchange Server 2003
Should you remove .STM files from Exchange Server 2003?
Microsoft Exchange Server 2003 Research

Microsoft Exchange Server Mailbox Management
Delivering email between Exchange server test and production domains
Microsoft Outlook error message: 'Mailbox Size Limit exceeded'
Restoring user accounts and mailbox links in Active Directory
Problems receiving email from outside a Exchange Server 2003 domain
Best practices for moving mailboxes in Exchange Server
Exchange admins: Is it time to rethink your email address policy?
Exchange Server 2003 collects email from only specific POP3 domains
Troubleshoot 'System Attendant' error messages in OWA
Relocating Outlook email messages on a hosted Exchange 2007 server
Restore contacts from an Exchange public folder

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
bounce email  (SearchExchange.com)
messaging server  (SearchExchange.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Email Server Solutions: Exchange 2007, Exchange 2003, Exchange 2000, SharePoint
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts