O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exchange Server Cookbook

Book Description

Ask network administrators what their most critical computer application is, and most will say "email" without a moment's hesitation. If you run a network powered by Windows 2000 or Windows Server 2003, Microsoft Exchange occupies much of your time. According to Microsoft, 110 million Exchange seats have been deployed, but 60% of you are still running Exchange 5.5. That's a problem, because the difference between version 5.5 and the more efficient Exchange 2000 and Exchange Server 2003 is profound.Don't fret. Exchange Server Cookbook offers you a comprehensive how-to guide to these newer versions of Exchange. You'll find quick solutions for the most common tasks you need to perform--everything from installation and maintenance to configuration and optimization, with proven recipes for the most useful tools and utilities. The book also has solutions to some uncommon tasks (that you may not know are possible) and advanced procedures that aren't part of day-to-day operations. These include tasks for critical situations, such as using a recovery storage group.Our reliable desktop reference even shows you how to write scripts for Exchange management and deployment tasks. That's right. While not every Exchange job can be scripted, many can, and we provide lots of working VBScript examples for accomplishing particular goals. Whatever your particular need, you'll find it quickly, because chapters in this Cookbook are laid out by recipe, with cross references to other pertinent solutions in the book. With this guide, you'll learn:

  • The relationship between Exchange and Active Directory
  • When to use the GUI, the command line, or scripting
  • How to prepare forests, domains, and servers
  • How to use Group Policy to control Exchange
  • Diagnostic logging, measure performance, and administrative privileges
  • Recipient management: user accounts, mailboxes, mail-enabled groups
  • Mailbox and public folder database management
  • Message routing and transport functions
  • Security, backup, restore, and recovery operations
For every question you have about Exchange 2000 or Exchange Server 2003, our Cookbook has the answer--one that you can find and implement without a moment's hesitation.

Table of Contents

  1. Preface
    1. Who Should Read This Book?
    2. Contents of This Book
    3. Conventions Used in This Book
    4. Using Code Examples
    5. How to Contact Us
    6. Safari Enabled
    7. Acknowledgments
  2. 1. Getting Started
    1. 1.1. Cooking with Exchange
    2. 1.2. Where to Get Tools
    3. 1.3. Finding More Information
  3. 2. Installation and Infrastructure
    1. Introduction
    2. 2.1. Verifying Your Current Infrastructure Is Ready for Exchange Server 2003
    3. 2.2. Preparing a Windows 2000 Server Computer for an Exchange Installation
    4. 2.3. Preparing a Windows Server 2003 Computer for an Exchange Installation
    5. 2.4. Preparing an Active Directory Forest for Exchange
    6. 2.5. Preparing an Active Directory Domain for Exchange
    7. 2.6. Verifying That Forest and Domain Preparation Completed
    8. 2.7. Installing Exchange on a Member Server
    9. 2.8. Installing Exchange on a Domain Controller
    10. 2.9. Using Exchange Setup in Unattended Mode
    11. 2.10. Checking the Expiry Date of an Evaluation Version of Exchange
    12. 2.11. Upgrading the Evaluation Version of Exchange
    13. 2.12. Upgrading from Standard Edition to Enterprise Edition
    14. 2.13. Enumerating All Existing Exchange Servers
    15. 2.14. Enumerating All Exchange Connectors
    16. 2.15. Switching Exchange from Mixed Mode to Native Mode
    17. 2.16. Creating the First Administrative Group with a Custom Name
    18. 2.17. Viewing Administrative Groups in Exchange System Manager
    19. 2.18. Creating Administrative Groups
    20. 2.19. Removing Administrative Groups
    21. 2.20. Moving Objects Between Administrative Groups
  4. 3. Active Directory Integration
    1. Introduction
    2. 3.1. Determining Which Domain Controllers Exchange Is Using
    3. 3.2. Forcing Exchange to Use Specific Domain Controllers
    4. 3.3. Determining and Specifying the DC That ESM Uses
    5. 3.4. Removing Exchange from Active Directory
    6. 3.5. Changing the Forest Functional Level
    7. 3.6. Controlling Exchange Settings Through Group Policy Objects
    8. 3.7. Installing Additional Recipient Update Service Instances
    9. 3.8. Troubleshooting DSAccess Topology Discovery
    10. 3.9. Checking Which Account or Group Has Been Assigned Permissions During ForestPrep
  5. 4. Exchange Server and Organization Management
    1. Introduction
    2. 4.1. Installing ESM on Windows XP
    3. 4.2. Starting and Stopping Exchange
    4. 4.3. Controlling Message Tracking Settings
    5. 4.4. Determining Whether a Server Is a Front-End Server
    6. 4.5. Applying Exchange System Policies
    7. 4.6. Monitoring Exchange Service Status
    8. 4.7. Controlling Diagnostic Logging
    9. 4.8. Measuring Exchange Performance
    10. 4.9. Delegating Administrative Control
    11. 4.10. Setting Default Send and Receive Size Limits
  6. 5. Recipient Management
    1. Introduction
    2. 5.1. Creating a User Account and Mailbox
    3. 5.2. Creating a Mailbox for an Existing User
    4. 5.3. Removing a Mailbox for an Existing User
    5. 5.4. Creating a Mail-Enabled Group
    6. 5.5. Controlling Mailbox Size Limits
    7. 5.6. Moving Mailboxes
    8. 5.7. Getting Mailbox Access and Logon Information
    9. 5.8. Determining the Size of a Mailbox
    10. 5.9. Recovering a Deleted Mailbox
    11. 5.10. Bulk-Adding Mailboxes from an Excel Worksheet
    12. 5.11. Creating a Mail-Enabled Contact
    13. 5.12. Creating Multiple Address Lists
    14. 5.13. Creating Query-Based Distribution Groups
    15. 5.14. Granting Full Access to Mailboxes
    16. 5.15. Getting the List of Delegates for a Mailbox
    17. 5.16. Changing the Display Name Format in the GAL
    18. 5.17. Hiding or Revealing Items in Address Lists
    19. 5.18. Setting a Default Reply-to Address for a Mailbox
    20. 5.19. Creating Recipient Policies
    21. 5.20. Limiting Who Can Send Mail to a Distribution Group
    22. 5.21. Granting Send-as Permissions
    23. 5.22. Granting Send on Behalf of Permissions
    24. 5.23. Granting Users or Groups Permission to Access Other Mailboxes
    25. 5.24. Limiting the Number of Recipients to Which Messages Can Be Sent
    26. 5.25. Creating and Using Offline Address Lists
    27. 5.26. Using Mailbox Manager
    28. 5.27. Using ADModify.NET to Update User Attributes
    29. 5.28. Setting Properties on User Accounts
    30. 5.29. Retrieving Properties on User Accounts
  7. 6. Mailbox and Public Folder Database Management
    1. Introduction
    2. 6.1. Creating a Storage Group
    3. 6.2. Deleting a Storage Group
    4. 6.3. Enumerating the Storage Groups on a Server
    5. 6.4. Creating a Mailbox Database
    6. 6.5. Creating a Public Folder Database
    7. 6.6. Deleting a Database
    8. 6.7. Mounting a Database
    9. 6.8. Dismounting a Database
    10. 6.9. Moving Databases and Logs to Different Disks
    11. 6.10. Determining How Much Whitespace Is in a Database
    12. 6.11. Finding the Low Anchor Log File
    13. 6.12. Rebuilding a Database File from Logs
    14. 6.13. Enumerating Connected Mailboxes in a Database
    15. 6.14. Turning on Circular Logging for a Storage Group
    16. 6.15. Controlling the Online Maintenance Process
    17. 6.16. Performing an Offline Defragmentation
    18. 6.17. Shrinking a Database That Exceeds the 16 GB Size Limit for Standard Edition
  8. 7. Transport, Routing, and SMTP
    1. Introduction
    2. 7.1. Creating a New SMTP Virtual Server
    3. 7.2. Choosing the Correct Connector
    4. 7.3. Creating a Routing Group Connector
    5. 7.4. Creating an SMTP Connector
    6. 7.5. Configuring a Connector to Allow Routing of Messages from Specific Senders
    7. 7.6. Allowing Large Messages Through Specific Connectors
    8. 7.7. Creating a Routing Group
    9. 7.8. Removing a Routing Group
    10. 7.9. Designating the Routing Group Master
    11. 7.10. Moving a Server Between Routing Groups
    12. 7.11. Examining Your Routing Structure
    13. 7.12. Listing the SMTP Queues on a Specific Virtual Server
    14. 7.13. Inspecting the Contents of a Queue
    15. 7.14. Deleting Messages from a Queue
    16. 7.15. Moving SMTP Queues to a New Location
    17. 7.16. Deleting Messages from the Badmail Folder
    18. 7.17. Sharing an SMTP Domain Between Exchange and a Foreign Mail System
    19. 7.18. Accepting Mail for Multiple Domains
    20. 7.19. Controlling Mail Relaying
    21. 7.20. Filtering Messages Based on Recipient
    22. 7.21. Setting IP Address Restrictions for Multiple Servers
    23. 7.22. Using a DNS Block List on Exchange Server 2003
    24. 7.23. Controlling Global and Internet Message Format Settings
    25. 7.24. Setting Up a Role Email Address
    26. 7.25. Verifying Your External DNS Configuration for Inbound SMTP
    27. 7.26. Testing SMTP Manually
  9. 8. Client Connectivity
    1. Introduction
    2. 8.1. Blocking Specific Versions of Outlook from Connecting
    3. 8.2. Configuring Attachment Blocking for Outlook
    4. 8.3. Fixing Mailbox Folder Names That Appear in the Wrong Language
    5. 8.4. Configuring Attachment Blocking for OWA 2003
    6. 8.5. Configuring Freedoc Access for OWA 2003
    7. 8.6. Controlling OWA 2003 Spellchecking
    8. 8.7. Enabling SSL for OWA
    9. 8.8. Configuring Form-Based Authentication for OWA 2003
    10. 8.9. Allowing Password Changes Through OWA
    11. 8.10. Changing OWA 2003 Session Timeouts
    12. 8.11. Using the OWA Web Administration Tool
    13. 8.12. Creating OWA 2003 Themes
    14. 8.13. Forcing Users to Use a Specific OWA Theme
    15. 8.14. Enabling the Use of FBA/SSL with Outlook Mobile Access and Exchange ActiveSync
    16. 8.15. Enabling Support for “Unsupported” Outlook Mobile Access Devices
    17. 8.16. Adding Mobile Carriers for Exchange ActiveSync
    18. 8.17. Disabling Exchange ActiveSync Certificate Checking
    19. 8.18. Installing a Root Certificate for Use with EAS
    20. 8.19. Configuring the POP3 Server for User Access
    21. 8.20. Configuring the IMAP4 Server for User Access
    22. 8.21. Configuring NNTP for Newsgroup Feeds
    23. 8.22. Disabling User Access to POP3, IMAP4, and HTTP
    24. 8.23. Using Protocol Logging
    25. 8.24. Making Exchange Work Behind a Cisco PIX Firewall
  10. 9. Public Folder Management
    1. Introduction
    2. 9.1. Using the Public Folder Migration Tool
    3. 9.2. Rehoming Public Folders
    4. 9.3. Getting and Setting Public Folder Permissions
    5. 9.4. Forcing Public Folder Replication
    6. 9.5. Replicating the Public Folder Hierarchy
    7. 9.6. Getting Properties of the Public Folder Tree
    8. 9.7. Creating and Deleting Public Folders
    9. 9.8. Mail-Enabling or Mail-Disabling a Public Folder
    10. 9.9. Finding All Replicas of a Public Folder
    11. 9.10. Working with a Specific Server’s Replica List
    12. 9.11. Controlling Who Can Create Top-Level Public Folders
    13. 9.12. Recreating the Schedule+ Free/Busy Folder
    14. 9.13. Controlling Public Folder Replication Settings
    15. 9.14. Finding or Changing the Site Folder Server
  11. 10. Exchange Security
    1. Introduction
    2. 10.1. Scanning Exchange Servers for Security Patches
    3. 10.2. Securing SMTP Authentication
    4. 10.3. Enabling IPsec Between Front- and Back-End Servers
    5. 10.4. Enabling IPsec on an Exchange Server 2003 Cluster
    6. 10.5. Enabling SSL Offloading
    7. 10.6. Setting Up S/MIME in Outlook
    8. 10.7. Creating a Custom DNS Block List
    9. 10.8. Controlling Anonymous Address Resolution
    10. 10.9. Disabling Unnecessary Exchange Services
    11. 10.10. Setting Up RPC over HTTPS
    12. 10.11. Setting Up TLS Security for SMTP
    13. 10.12. Changing Server Banners
  12. 11. Backup, Restore, and Recovery
    1. Introduction
    2. 11.1. Backing Up an Individual Mailbox
    3. 11.2. Backing Up a Database
    4. 11.3. Backing Up a Storage Group
    5. 11.4. Restoring One or More Databases to the Same Server
    6. 11.5. Restoring a Storage Group to the Same Server
    7. 11.6. Restoring a Database to a Different Machine in Exchange 2000
    8. 11.7. Restoring a Database to a Different Machine in Exchange Server 2003
    9. 11.8. Recovering an Individual Mailbox from a Database Backup
    10. 11.9. Performing Disaster Recovery of a Cluster Node to a Nonclustered Server
    11. 11.10. Using the Exchange Server 2003 Mailbox Recovery Center to Recover a Mailbox
    12. 11.11. Recovering to a Recovery Storage Group in Exchange Server 2003
    13. 11.12. Performing Dial-Tone Recovery with Exchange Server 2003
    14. 11.13. Using the Mailbox Reconnect Utility
  13. About the Authors
  14. Colophon
  15. Copyright