Computer Performance, Exchange 2003

 

Microsoft Exchange Server 2003 - Controlling BadMail

Introduction to Exchange 2003 Server - BadMail

Have you ever been to the BadMail folder? What is your attitude to this folder, leave well alone or sift through those NDRs? The latest thinking is to disable BadMail all together. Exchange 2003 SP1 makes a significant change to Badmail behaviour.

Topics for Controlling BadMail

What is BadMailExchange 2003 Badmail folder.  Exchsrvr Mailroot

What is this BadMail?  Let us start with NDRs (Non-deliverable requests).  These NDR emails cannot be returned to the sender.  So what happens is that after the allotted retries, Exchange 2003 routes the email to a bin called the BadMail folder.

Next, let us find the BadMail folder.  Navigate to \Exchsrvr\Mailroot, now you should see a \vsi 1\BadMail folder.  There will be one vsi folder for each virtual server.  (See diagram opposite.)

Exchange 2003 SP1 and BadMail

Although the Administrator should check the BadMail folder regularly, most don't.  So when you install Exchange 2003 SP1, messages are no longer written to the Badmail folder. The idea is to prevent the Badmail folder from filling up with messages.  


TrainSignal - Guy's recommended training videos for Exchange 2003Exchange Server 2007 is a complex topic, do you need practical hands on training?  As an MCT trainer, I can thoroughly recommend TrainSignal.  In particular, I like the way that TrainSignal cover all learning methods, instructor lead, video and of course text material.  You can either take one module, for example Exchange 2007 or go for a combination of modules.  Learn more about Microsoft Exchange Server 2007 here


Registry Entries to Control BadMail

Once you install Exchange 2003 SP1, messages are no longer sent to the BadMail folder.  The thinking is that no-one ever looks at the BadMail, so you may as well delete undeliverable email straight away.   Rumour has it that SP1 sets the MaxBadMailFolderSize in the registry to 0 (Zero).  To complete the configuration SP1 also sets BadMailSyncPeriod  0.

To tell the truth I could not find these settings in my registry.  But I read an article explaining where you can add the MaxBadMailFolderSize and BadMailSyncPeriod entries to the registry.

Navigate to HKLM\System\CurrentControlSet\ Services\SMTPSVC\Queuing
From the Edit menu, select New, DWORD Value (Not string value).  Type MaxBadMailFolderSize, Double-click MaxBadMailFolderSize, type your size for the BadMail folder in kilobytes (KB), click Decimal, rather than Hex.

Repeat the procedure for BadMailSyncPeriod, again create a DWORD not a string.  Set the time in minutes for the local BadMail cache to synchronize with the BadMail folder on the hard drive.

Note: Restart the SMTP service for your new BadMail settings to take effect.

BadMailAdmin Utility

Microsoft provide a utility called BadMailAdmin.exe which can automatically delete, or archive messages in the BadMail folder.  If you are interested here is a download for BadMailAdmin

MadMail Exchange 2003 tip.  Mailroot, Exchsrvr  Run BadMailAdmin as a scheduled task to reduce administration.

 

.

Summary

Give the BadMail folder some thought.  Make a decision whether to disable BadMail, or schedule regular deletions.  Alternatively apply Exchange 2003's SP1 and disable the BadMail folder.

 

   

Download your Exchange 2003 Configuration eBook for only $6.25

Learn how to find settings in the Exchange System Manager.  Advice configuring your Exchange Server.  Tips on how to get the most from your Exchange 2003 server.

Over 50 printer friendly pages Word and PDF format

See Also

 .


Google

WebComputerperformance.co.uk

GFi Events Manager

Guy Recommends: GFi EventsManager

Here is a solution to monitor, manage and archive thousands of events that are generated by devices across your entire network.  Get your free evaluation copy of GFI EventsManager.

 

Home Copyright © 1999-2008 Computer Performance LTD All rights reserved

Please report a broken link, or an error.