cover.eps

Microsoft Exchange Server 2007 For Dummies®

Table of Contents

Introduction

About This Book

Conventions Used in This Book

What You Should Read

What You Don’t Have to Read

Foolish Assumptions

How This Book Is Organized

Part I: An Overview of Exchange Server 2007

Part II: Customizing Exchange Server

Part III: Advanced Techniques

Part IV: The Part of Tens

Icons Used in This Book

Where to Go from Here

Part I: An Overview of Exchange Server 2007

Chapter 1: Getting to Know Exchange Server 2007

Considering the Exchange Server 2007 Features

Understanding the Service Pack 1 (SP1) Differences

Considering the addition of S/MIME support

Understanding the use of new transport rules

Relying on standby continuous replication

Implementing hardware security using device security and management

Considering the Web-based messaging additions

Understanding the voice features

Administration tool updates

Choosing the Correct Edition for Your Needs

Considering Microsoft Exchange Hosted Services

Defining the Hosted Services elements

Buying Hosted Services for your organization

Chapter 2: Installing Exchange Server 2007

Addressing the Installation Prerequisites

Understanding the minimum hardware requirements

Verifying your configuration

Installing .NET Framework 2.0

Installing Windows PowerShell

Installing the Internet Information Services role

Testing Your Configuration

Performing the Installation

Chapter 3: Using Exchange Management Console

Getting an Overview of the Configuration

Understanding the roles

Understanding hosted services

Working with the Organization Configuration

Considering the organization-level Mailbox

Understanding organization-level Client Access

Working with the organization-level Hub Transport

Defining organization-level Unified Messaging

Performing the Server Configuration

Considering the server-level Mailbox

Understanding server-level Client Access

Working with the server-level Hub Transport

Defining server-level Unified Messaging

Reviewing the Recipient Configuration

Interacting with the recipient Mailbox

Defining the recipient Distribution Group

Working with Mail Contacts

Viewing the Disconnected Mailbox

Viewing the Toolbox

Chapter 4: Performing the Initial Configuration

Performing Configuration Required for All Exchange Servers

Entering the Exchange Server product key

Using Best Practices Analyzer

Protecting Exchange Server from spam, viruses, worms, and other malware

Setting the Application log size

Configuring the Basic Mailbox

Adding a user

Providing an Offline Address Book (OAB)

Associating an OAB with a mailbox

Providing Client Access

Defining the Secure Sockets Layer (SSL) configuration

Configuring a connection

Setting Up the Hub Transport

Defining the e-mail domains

Modifying Internet mail flow

Connecting to Exchange Server with a Client

Part II: Customizing Exchange Server

Chapter 5: Working with Mailboxes

Considering How Users Work with Mailboxes

Understanding Messaging Records Management

Creating a managed custom folder

Creating a managed default folder

Configuring a managed folder

Setting the managed folder mailbox policies

Applying a managed folder policy to a user mailbox

Scheduling Managed Folder Assistant

Working with Users

Configuring Message Folders

Modifying the calendar retrieval options for IMAP4 and POP3

Working with the alternative mailboxes

Setting the user mailbox properties

Using Public Folder Management Console

Creating new folders

Modifying existing folders

Configuring Distribution Groups

Creating a distribution group

Defining distribution group properties

Chapter 6: Configuring Security

Setting User Security

Understanding message delivery options

Using message size restrictions as a security aid

Modifying message delivery restrictions

Modifying the Active Directory view of distribution groups

Setting Mailbox Security

Auditing the User

Considering Antispam Requirements

Relying on Sender ID

Understanding Content Filtering

Understanding spam assessment

Considering Antivirus and Other Malware Requirements

Considering the third-party solution

Understanding Antivirus Extensibility

Considering the Use of Encryption

Using the Intra-Org Encryption feature

Considering the use of opportunistic TLS encryption

Understanding that SSL certificates are automatically installed

Using S/MIME encryption for messages

Chapter 7: Interacting with Clients

Working with Outlook

Accepting Safe Sender List Aggregation

Understanding the Anti-spam Stamp

Considering the Two-Tiered Spam Quarantine

Understanding attachment filtering

Understanding the Multi-Mailbox Search feature

Considering the use of transport rules

Considering Personal Store Requirements

Verifying the presence of a digital certificate

Using the digital certificate

Importing and exporting the digital certificate

Chapter 8: Creating Custom Forms

Opening Details Templates Editor

Editing a Template

Working with Tools

Modifying Behaviors

Considering the use of properties for controls

Understanding the use of attributes

Setting attribute security using the ADSI Edit console

Creating a new attribute using the ADSI Edit console

Part III: Advanced Techniques

Chapter 9: Troubleshooting Your Configuration

Testing Your Configuration

Considering user setup issues

Considering mailbox issues

Catching connectivity problems

Thinking outside the configuration issue box

Performing Required Updates

Using the Exchange Processes Are Failing Tool

Performing Database Recovery Management

Using Database Troubleshooter

Chapter 10: Recovering from Mail-Specific Problems

Using Mail Flow Troubleshooter

Performing Message Tracking

Interacting with Queue Viewer

Working with queues

Working with messages

Understanding Replication

Considering LCR

Considering CCR

Considering SCR

Working with Routing Log Viewer

Opening log files

Comparing two log files

Chapter 11: Performing Maintenance Tasks

Creating a Data Store Backup

Defining backup requirements

Understanding the use of faster and fewer backups

Choosing a backup application

Monitoring Exchange Server Performance

Creating Performance Baseline Health Check

Considering the use of dynamic distribution groups

Testing Performance Using Performance Monitor

Locating Resource Hogs Using Performance Troubleshooter

Chapter 12: Using Exchange Management Shell

Understanding Windows PowerShell

Considering the need for Windows PowerShell

Considering the Exchange Management Shell difference

Opening an Administrative PowerShell Prompt

Understanding the need for an administrative prompt

Opening the administrative command prompt

Understanding the Windows PowerShell difference

Getting Windows PowerShell Help

Locating the cmdlets you need

Obtaining help for a specific cmdlet

Executing Cmdlets

Setting mailbox configuration with the Set-CASMailbox cmdlet

Adding custom resources using the Set-ResourceConfig cmdlet

Installing and configuring antispam agents

Performing a multimailbox search

Working with Common Management Shell Cmdlets

Interacting with the user

Interacting with mail folders

Working with a clustered mailbox server

Configuring distribution groups

Using Calendar Attendant

Chapter 13: Using the Command Line

Configuring the Command Line

Opening an administrator command line

Setting the window options

Changing the font

Choosing a window layout

Defining text colors

Interacting with Exchange Server Databases Using ESEUtil

Defragmenting the database

Repairing the database

Restoring the database

Recovering the database

Performing an integrity check

Displaying the database contents

Performing a checksum test

Copying the database to another location

Confirming Database Integrity Using ISInteg

Checking Best Practices Using ExBPACmd

Part IV: The Part of Tens

Chapter 14: Ten Exchange Server Tools

Upgrading to Windows PowerShell 2.0

Creating Scripts Using Windows PowerShell Scriptomatic

Using Microsoft Forefront Security for Exchange Server

Editing XML Files Using XML Notepad

Recovering a Lost Product Key Using ProduKey

Converting a SID to a Username with User Info

Obtaining Access to the SysInternals Tools

Making Sense of Error Codes Using Err

Obtaining Antivirus Support Using GFI MailSecurity

Interacting with the Client Machine Using Remote Desktop

Enabling Remote Desktop

Creating a connection

Setting the display

Accessing local resources

Running a configuration program

Optimizing performance

Chapter 15: Ten Exchange Server Resources

Starting with TechNet

Obtaining the Developer View with the Microsoft Developer Network

Defining Search Techniques in the Microsoft Knowledge Base

Getting Tips from the Microsoft Blogs

Locating Exchange Server Tips and Techniques Using Google

Finding Help in Third-Party Web Sites

Finding Help in Third-Party Newsletters and Blogs

Obtaining Whitepapers to Help with Management Tasks

Discovering Migration Techniques for Your Current Setup

Considering the Requirements for a Third-Party Add-in

Microsoft® Exchange Server 2007 For Dummies

WileyTitlePageLogo.eps
WileycopyrightLogo.eps

About the Author

John Mueller is a freelance author and technical editor. He has writing in his blood, having produced 81 books and over 300 articles to date. The topics range from networking to artificial intelligence and from database management to heads-down programming. Some of his current books include a Windows power optimization book, books on both Windows Server 2008 GUI and Windows Server 2008 Server Core, and a programmer’s guide that discusses the new Office Fluent User Interface (RibbonX). His technical editing skills have helped more than 58 authors refine the content of their manuscripts. John has provided technical editing services to both Data Based Advisor and Coast Compute magazines. He’s also contributed articles to the following magazines: CIO.com, DevSource, InformIT, Informant, DevX, SQL Server Professional, Visual C++ Developer, Hard Core Visual Basic, asp.netPRO, Software Test and Performance, and Visual Basic Developer.

When John isn’t working at the computer, he enjoys spending time in his workshop crafting wood projects or making candles. On any given afternoon, you can find him working at a lathe or putting the finishing touches on a bookcase. He also likes making glycerin soap, which comes in handy for gift baskets. You can reach John on the Internet at JMueller@mwt.net. John is also setting up a Web site and blog at http://www.johnmuellerbooks.com/; feel free to look and make suggestions on how he can improve it.

Dedication

This book is dedicated to my nephew Jason, who is at childhood’s end and reminds me so much of myself at his age. He gives me hope for the future. Happy 16th birthday!

Author’s Acknowledgments

Thanks to my wife, Rebecca, for working with me to complete this book. I don’t know what I would have done without her help in researching and compiling some of the information that appears in this book. She also did a fine job of proofreading my rough draft.

Russ Mullen deserves thanks for his technical edit of this book. He added greatly to the accuracy and depth of the material that you see here. I appreciated the time he devoted to checking my code for accuracy. As I wrote this book, I also spent a good deal of time bouncing ideas off Russ, which was a valuable aid to me.

Matt Wagner, my agent, deserves credit for helping me get the contract in the first place and taking care of all the details that most authors don’t consider. I always appreciate his assistance. It’s good to know that someone wants to help.

A number of people read all or part of this book to help me refine the approach, test the examples, and generally provide input that all readers wish they could have. These unpaid volunteers helped in ways too numerous to mention here. I especially appreciate the efforts of Eva Beattie and all the others who provided input on Exchange Server. I’d like to thank each person who wrote me with an idea by name, but there are simply too many.

Finally, I would like to thank Katie Feltman, Susan Pink, and the rest of the editorial and production staff for their assistance in bringing this book to print. It’s always nice to work with such a great group of professionals.

Publisher’s Acknowledgments

We’re proud of this book; please send us your comments through our Dummies online registration form located at www.dummies.com/register/.

Some of the people who helped bring this book to market include the following:

Acquisitions, Editorial, and Media Development

Project Editor: Susan Pink

Acquisitions Editor: Katie Feltman

Copy Editor: Susan Pink

Technical Editor: Russ Mullen

Editorial Manager: Jodi Jensen

Editorial Assistant: Amanda Foxworth

Sr. Editorial Assistant: Cherie Case

Cartoons: Rich Tennant (www.the5thwave.com)

Composition Services

Project Coordinator: Erin Smith

Layout and Graphics: Reuben W. Davis, Christin Swinford, Ronald Terry, Christine Williams

Proofreaders: John Greenough, Christine Sabooni

Indexer: Ty Koontz

Publishing and Editorial for Consumer Dummies

Diane Graves Steele, Vice President and Publisher, Consumer Dummies

Joyce Pepple, Acquisitions Director, Consumer Dummies

Kristin Ferguson-Wagstaffe, Product Development Director, Consumer Dummies

Ensley Eikenburg, Associate Publisher, Travel

Kelly Regan, Editorial Director, Travel

Publishing for Technology Dummies

Andy Cummings, Vice President and Publisher, Dummies Technology/General User

Composition Services

Gerry Fahey, Vice President of Production Services

Debbie Stailey, Director of Composition Services

Introduction

Exchange Server is an e-mail server. Some people may stop there. After all, e-mail is a necessary, yet boring, requirement for any organization today. However, Exchange Server is far more than a simple e-mail server, and that’s what Microsoft Exchange Server 2007 For Dummies is all about. In this book, you discover the amazing capabilities of Exchange Server 2007 SP1 and what it can do for your organization besides serve up e-mail.

About This Book

You may be amazed to know that Exchange Server can help every member of your organization schedule appointments. In addition, it can help them coordinate their appointments so that meetings become easy, rather than too inconvenient to schedule properly. Of course, meetings involve more than people — they also involve resources. Exchange Server helps you create and schedule every resource required for your meeting, and Microsoft Exchange Server 2007 For Dummies helps you perform this necessary task.

Exchange Server also provides considerable resources to keep your e-mail experience safe. Microsoft’s focus is on using the advanced features of Exchange Server to perform this task. Microsoft Exchange Server 2007 For Dummies helps you accomplish this job without investing in multiple servers — a boon for small organizations. Of course, this book also considers the needs of the medium- and large-sized organization as well.

One of the focal points of this book is the Service Pack 1 (SP1) release. Most Exchange Server 2007 books on the market today came out before SP1 was a reality. Microsoft Exchange Server 2007 For Dummies provides full SP1 coverage, so you know you’re getting the best information possible about Exchange Server 2007.

A second focus of Microsoft Exchange Server 2007 For Dummies is performance and the three elements that define it: security, reliability, and speed. Using the techniques in this book will ensure that you obtain maximum Exchange Server performance. In short, rather than simply tell you how Exchange Server works or how to use it, this book goes further and helps you obtain the most out of Exchange Server. Consequently, Microsoft Exchange Server 2007 For Dummies is the best book available to get started with your Exchange Server 2007 SP1 experience.

Conventions Used in This Book

I always try to show you the fastest way to accomplish any task. In many cases, this means using a menu command such as File⇒New⇒Project. When working with Exchange Server, I’ll tell you which dialog box tab to access first, and then which feature to use on that tab.

This book also uses special type to emphasize some information. For example, entries that you need to type appear in bold. All code, Web site URLs, and on-screen messages appear in monofont type. When I define a new word, you’ll see that word in italics.

Because you use multiple applications when you’re working with Exchange Server, I always point out when to move from one application to the next. When a chapter begins, I introduce the main application for that chapter. All the commands in that chapter are for the main application until I specifically tell you to move to another application. I also tell you when it’s time to move back to the main application.

What You Should Read

If you haven’t worked with Exchange Server before, you should begin with Chapter 1 because this initial chapter contains a lot of information you can use to help define your Exchange Server setup. Planning your Exchange Server configuration is important and this chapter provides the information you need. Anyone, no matter what level of expertise they possess, should read the “Understanding the Service Pack 1 (SP1) Differences” section of Chapter 1. This section of the chapter helps you understand the benefits of installing Exchange Server 2007 SP1 on your server.

Everyone should read Chapters 5 through 8 at some point because these chapters emphasize the SP1 configuration procedures. However, when you read these chapters depends on when you install SP1. If you perform the installation described in this book, you should move on to Chapter 5 immediately after completing the installation. On the other hand, if you install SP1 as an update to your existing Exchange Server installation, you don’t need to start reading Chapters 5 through 8 until you complete the upgrade.

Chapters 9 through 13 are essential management chapters. Someone who has never worked with Exchange Server before will probably want to read them from start to finish. After you gain some Exchange Server experience, you use these chapters for reference — picking and choosing just the sections needed to manage your system.

What You Don’t Have to Read

Most of the chapters contain some advanced material that will interest only some readers. When you see one of these specialized topics (such as using S/MIME and PGP/MIME encryption in Chapter 1), feel free to skip it. Most of this advanced material appears in sidebars and some of it applies only when you use a specific Exchange Server component. The sidebar title will always indicate the special nature of the advanced material.

You can also skip any material marked with a Technical Stuff icon. This material is helpful, but you don’t have to know it to work with Exchange Server. I include this material because I find it helpful in my administration efforts and hope that you will, too.

Foolish Assumptions

You might find it difficult to believe that I’ve assumed anything about you — after all, I haven’t even met you yet! Although most assumptions are indeed foolish, I made these assumptions to provide a starting point for the book.

I’m assuming that you’ve worked with Windows long enough to know how the keyboard and mouse work. You should also know how to use menus and other basic Windows features.

In all the chapters, I assume you have administrator rights to the machine you use to work with Exchange Server. In addition, this book relies on Windows Server 2008 as the base operating system and Windows XP as the client operating system. You can use any combination of operating systems that Exchange Server and the client application you want to work with support, but the screenshots may differ from those shown in the book. You must know how to work with the advanced features of whatever versions of Windows you choose to use.

Some portions of the book work with Web pages and others use XML; you need to know at least a little about these technologies to use those sections. You don’t have to be an expert in these areas, but more knowledge is better. This book doesn’t require that you have any developer knowledge of either Web page or XML technology.

I do make an essential assumption in this book in the level of coverage. This book doesn’t discuss Edge Transport server, the outside-the-firewall Exchange Server component, in any detail. I did this for an important reason. Many of you will begin using Exchange Server in your organization and will not want to invest a lot of money in multiple servers at the outset. This is the book to get you started. After you acquire the basics found in this book, you can move on to one of those heavy tomes on the market to increase the size of your Exchange Server configuration.

How This Book Is Organized

This book contains several parts. Each part demonstrates a particular Exchange Server concept. In each chapter, I discuss a particular topic and describe how to perform tasks associated with that topic using procedural steps. In some cases, I make recommendations but can’t provide a precise procedure because the steps you take vary by organization. This book doesn’t require that you download anything unless you plan to use one of the third-party products mentioned in a particular topic. In this case, I provide the URL you use to perform the download.

Part I: An Overview of Exchange Server 2007

The first part of the book is all about discovering (Chapter 1), planning and installing (Chapter 2), considering basic management of (Chapter 3), and configuring (Chapter 4) Exchange Server. These four chapters help you to get to the point of being able to access Exchange Server and perform more advanced management tasks. You’ll probably use this part of the book once — during the initial configuration of your server. Of course, you can always return to Part I every time you add another server to your configuration.

Part II: Customizing Exchange Server

Exchange Server requires a lot of configuration before you can use it for anything practical. Just because you can access Exchange Server and send yourself an e-mail doesn’t make it useful. Part II describes how to configure mailboxes (Chapter 5), security (Chapter 6), clients (Chapter 7), and forms (Chapter 8). Most of you will follow these chapters in order during the initial configuration of your server, but you’ll use this part of the book as a configuration reference as your organization needs change.

Part III: Advanced Techniques

Part III contains a number of advanced techniques that you may not use very often. For example, Chapter 9 tells you how to troubleshoot configuration problems, and I hope you won’t need to perform that task every day. The mail recovery techniques in Chapter 10 see the light of day only when something catastrophic happens to your server. The one chapter in this part that you should read end-to-end and use regularly is Chapter 11, which contains maintenance procedures. If you use Chapter 11 regularly, you may find that you need Chapters 9 and 10 seldom or not at all.

Chapters 12 and 13 are special. They show you how to work at the command line using Windows PowerShell (Chapter 12) and the familiar command prompt (Chapter 13). Using the techniques in this chapter can help you perform tasks faster, add automation to your administration tasks, and perform a few tasks that the GUI doesn’t support very well.

Part IV: The Part of Tens

Everyone likes helpful tips and resources. The two chapters in Part IV contain descriptions of helpful third-party utilities (Chapter 14) and a list of places where you can obtain additional information (Chapter 15). Although these two chapters don’t contain required reading, you’ll miss out on an important part of the book if you don’t at least scan these two chapters. The tidbits of information you receive may help you work with Exchange Server with considerably less effort. Of course, these are the utilities and online resources that I use. If you find some utilities or online resources that you want to share with me, be sure to write me at JMueller@mwt.net.

Icons Used in This Book

As you read this book, you’ll see icons in the margins that indicate material of interest (or not, as the case may be). This section briefly describes each icon in this book.

Tip.eps Tips are nice because they help you save time or perform some task without a lot of extra work. The tips in this book are timesaving techniques or pointers to resources that you should try to get the maximum benefit from Exchange Server.

Warning(bomb).eps I don’t want to sound like an angry parent or some kind of maniac, but you should avoid doing anything marked with a Warning icon. Otherwise, you could find that Exchange Server melts down and takes your data with it.

TechnicalStuff.eps Whenever you see this icon, think advanced tip or technique. You might find these tidbits of useful information just too boring for words, or they could contain the solution you need to solve an Exchange Server issue. Skip this information whenever you like.

Remember.eps If you don’t get anything else out of a particular chapter or section, remember the material marked by this icon. This text usually contains an essential process or bit of information that you must know to use Exchange Server successfully.

Where to Go from Here

It’s time to start your Exchange Server adventure! I recommend that anyone who has never worked with Exchange Server go right to Chapter 1. This chapter contains essential, get-started information that you need for getting Exchange Server installed on your system. More importantly, this chapter tells you what you can expect from the SP1 update to Exchange Server.

If you already have Exchange Server installed, but haven’t configured it yet, move on to Chapter 4 (for initial configuration) or Chapter 5 (for detailed configuration). Before you can use Exchange Server, you must configure it for use. This means configuring Exchange Server at the organization and server levels, adding mailboxes, setting security, and performing basic tests to ensure you have everything installed correctly.

Those who already have some Exchange Server experience and want to use this book as a reference may want to move directly to Chapter 9 and then review Chapters 5 through 8 as needed for updates. Chapter 9 begins an exciting section of the book where you discover techniques for locating problems on your system and methods you can use to test Exchange Server. In addition, some areas of Part III tell you how to improve Exchange Server reliability, speed, and security — the three cornerstones of good Exchange Server performance.

Part I

An Overview of Exchange Server 2007

398661-pp0101.eps

In this part . . .

What can Exchange Server 2007 SP1 do for you? You may have found some essential tasks that Exchange Server can accomplish, but you may not realize just how powerful this application is and its importance for your organization. Chapter 1 helps you consider all the special features that Exchange Server 2007 SP1 provides, especially those found in SP1 (the features that Microsoft covers least well in their documentation).

The remaining chapters in this part help you install Exchange Server 2007 SP1 for the first time. Chapter 2 helps with the installation process. In Chapter 3, you discover how to work with Exchange Management Console, which is the essential tool for most configuration tasks. By the time you finish with Chapter 4, you have a basic configuration in place that you can test and use to send yourself e-mail.