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
Set up messaging records management (MRM) in Exchange Server 2007
How Microsoft's new support policy for virtualized Exchange will affect you
Why too much memory can hurt Exchange Server 2007 performance
Microsoft Exchange Server backup method pros and cons
Migrating .PST files to an Exchange Server information store
Virtualizing Exchange Server 2007 with Microsoft's Hyper-V
Configure SMTP connection limits in Exchange Server 2003 and SBS
Five Microsoft Exchange Server backup worst practices
How to export Global Address List data to Microsoft Office Access
Create a group policy to prevent .PST file storage in Exchange 2007

Microsoft Exchange Server Non-Delivery Reports (NDRs)
A network connection problem or an offline server prevented delivery of the message
Third-party tools that modify NDRs for oversized email
SMTP 550 relay error when sending large attachments
Not receiving email messages that have file attachments
How to strip email attachments from Exchange NDR failure notifications
Exchange Server error message: 'A non-delivery report with a status code of 5.4.0 was generated for recipient'
How to select the mailbox account that sends Exchange NDRs
'You do not have permission to send to this recipient' errors
AQADMCLI: Command-line SMTP queue management for Exchange Server
Troubleshoot 'Send As' permission errors

Microsoft Exchange Server 2003
How to lock down an SMTP relay to prevent spam in Exchange Server 2003
Tool helps identify inbound Exchange Server email flow issues
Configure SMTP relay restrictions in Exchange Server 2003 to stop spam
Microsoft Exchange Server backup method pros and cons
Why can't I send Exchange email from a BlackBerry 7100i mobile device?
Tools to bulk modify Active Directory users in Exchange Server 2003
Tools and methods for disabling IMAP and POP in Exchange Server 2003
Configure SMTP connection limits in Exchange Server 2003 and SBS
Setting up email disclaimers and signatures in Exchange Server
Repairing damaged OWA virtual directories in Exchange Server 2003
Microsoft Exchange Server 2003 Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
bounce e-mail  (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.

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




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