Home > Microsoft Exchange Tips > Exchange Server Administration Tips > New Exchange 2003 feature may block batch files
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SERVER ADMINISTRATION TIPS

New Exchange 2003 feature may block batch files


Serdar Yegulalp
02.12.2004
Rating: -3.80- (out of 5)


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


Exchange 2003 has a new security feature, enabled by default, that could be a problem for administrators who use scripts or batch files to send mass mailings.

If a script or batch file is used to send more than 250 messages or 100 attachments, Exchange 2003 detects this and may block the messages/attachments from being sent. When this happens the server will log an error with the event ID 9646.

Clearly the reason for this is to limit the amount of damage that a rogue script or worm can do, but it also has the potential of interfering when you are legitimately using a script to send mail in bulk.

The default maximum for the affected object type is controlled by a Registry entry on the computer running Exchange Server 2003. This default can be edited, but it should only be done on machines where this limit is a genuine hindrance and where there are appropriate safeguards against rogue scripts.

Follow these 6 steps to edit the default:

  • Open the Registry on the Exchange Server 2003 computer and navigate to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesMSExchangeISParametersSystem.
  • Add a new key (not a value, but a whole subkey) named MaxObjsPerMapiSession.
  • Within this new key, add two DWORD values: objtMessage and objAttachment.
  • Set the value of objtMessage to the maximum number of message objects that can be automated at once.
  • Set the value of objAttachment to the maximum number of attachment objects that can be automated at once.
    A good starting value for both of these is 500.
  • Close the Registry. The changes will take effect immediately.

Note that relying on scripting to perform mass mailings may not be the best idea, and that an actual commercial mass-mailer or a simple delivery list in Exchange may accomplish the same results with less effort.

Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter. Check out his Windows 2000 blog for his latest advice and musings on the world of Windows network administrators – please share your thoughts as well!

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 2003
Top 5 Outlook Web Access (OWA) tips of 2008
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
Microsoft Exchange Server 2003 Research

Microsoft Exchange Server Scripts and Programming
How to run Exchange Management Shell cmdlets in Exchange Server 2007
Automate complex Exchange 2007 Management Shell tasks via scripting
Exchange event sink scripting error when configuring email disclaimer
EMS add-on tool generates graphical Exchange Server 2007 reports
A primer on the Exchange Server 2007 Exchange Management Shell
How to generate HTML reports with the Exchange Management Shell (EMS)
Use the Exchange Management Shell Set command to block senders
How to test Exchange Management Shell commands
Grant or deny permissions to access a user's Exchange 2007 mailbox
Control query results with Exchange Management Shell's Format command

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
application program interface  (SearchExchange.com)
event sink  (SearchExchange.com)
synchronous groupware  (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