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
Top 10 Microsoft Exchange Server tips of 2008
Database changes that enhance Exchange Server 2007 fault tolerance
How continuous replication methods affect Exchange 2007 log shipping
Analyzing Exchange ActiveSync data from .CSV report files
How to run Exchange Management Shell cmdlets in Exchange Server 2007
Eliminate .PST file use for secure email retention in Exchange 2007
Exchange Server 2007 log shipping and continuous replication
Benefits of backing up Exchange Server with Microsoft's DPM 2007
Exchange Server 2007 replication and database transaction basics
Microsoft Exchange Server 2003 database recovery methods

Microsoft Exchange Server Non-Delivery Reports (NDRs)
Troubleshooting Microsoft Exchange Server Event ID error 6009
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

Microsoft Exchange Server 2003
Top 10 Microsoft Exchange Server tips of 2008
Configure a POP3 connector to receive external email on SBS 2003
Exchange Server public folder rules and memory limits
How to copy and transfer a Microsoft Outlook 2007 auto fill list
Keeping the old server name after migrating to Exchange Server 2003
Can OWA 5.5 users access email from Exchange Server 2003?
Deployment tool errors during a migration from Exchange 5.5 to Exchange 2003
Microsoft Exchange Server 2003 database recovery methods
Microsoft Exchange Server mailbox recovery using database portability
Recovering an Exchange Server 2003 store on a disaster recovery box
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.



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 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  |  Site Map




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