Welcome to Exchange Team Blog Sign in | Join | Help

Friday, June 30, 2006 7:21 PM

Video: Karim Batthish on Exchange 2007 Web services and programmibility

Today we present to you Karim Batthish, a Program Manager Lead on Exchange team. Karim talks about Exchange Server 2007 Web services and programmibility. Enjoy!

- The Exchange Team

Thursday, June 29, 2006 7:30 PM

Video: Becky Benfield on Exchange 2007 high availability and disaster recovery!

In yet another installment of our TechEd 2006 interviews, Becky Benfield, Program Manager Lead of Exchange mailbox team, discusses high availability and disaster recovery features in Exchange 2007. Check out the video here:

- The Exchange Team

posted by Exchange | 1 Comments
Filed Under: ,
Thursday, June 29, 2006 1:34 PM

Take the Exchange Server 2007 Scripting Contest challenge!

With Exchange Management Shell available in Exchange Server 2007, you can now do almost every single admin task with an interactive command line (in addition to the traditional GUI) - you can use it to quickly check settings, create reports, check the health of your system or best of all: automate all of your frequent operations. But don't be fooled by that word "automation", things are even simpler than they seem. As it turns out, most common admin tasks can be done via just a single line in the shell. As proof, the Exchange Management Shell team has put up a series of one-liners here:

 

http://www.microsoft.com/technet/scriptcenter/scripts/message/exch2007/default.mspx.

 

If you're new to Exchange Management Shell, take a look at these samples:

- Organization Settings

- Outlook Web Access, ActivSync and RPC/HTTP Management

- Recipient Management

- Storage Group, Mailbox Database and Public Folder Management

 

Once you get the hang of it, try writing one of your own and submit them to the Exchange Server 2007 Scripting Contest to win a trip to the Exchange launch! Details here:

 

http://www.microsoft.com/technet/scriptcenter/topics/exchange/contest/default.mspx

 

 

- The Exchange Team

posted by Exchange | 0 Comments
Filed Under: , ,
Thursday, June 29, 2006 1:09 PM

Exchange 2007 Beta 2 SDK available for download!

I just noticed that Scott Schnoll posted this on his blog!

This preliminary release of the Exchange 2007 SDK Documentation and Samples provides new and updated documentation and samples for building applications that use Exchange Server 2007 Beta 2. Use the Exchange 2007 SDK Beta 2 to help you develop collaborative enterprise applications with Exchange.

Get it now at http://www.microsoft.com/downloads/details.aspx?FamilyID=8c32d5ee-a071-459e-843d-8ede0a9582b3&DisplayLang=en.

- Nino Bilic

Wednesday, June 28, 2006 5:00 PM

Video: Max Ciccotosto on Exchange 2007 Mobility!

If you want to learn about Exchange Server 2007 enhancements in mobility area, check out this (close to 15 minutes long!) talk with Max Ciccotosto, Program Manager Lead responsible for mobility in Exchange 2007. You can access the video here:

- The Exchange Team

posted by Exchange | 1 Comments
Filed Under: , ,
Wednesday, June 28, 2006 1:32 PM

Exchange 2007 beta documentation now available on the Microsoft Exchange Server TechCenter!

Hi, this is Kevin Allison, and I lead the User Education group within the Microsoft Exchange product organization.  I am pleased to announce that the beta documentation for Exchange 2007 has just been posted to the Microsoft Exchange Server TechCenter! http://www.microsoft.com/technet/prodtechnol/exchange/E2k7Help
 
As Microsoft prepares to release Exchange 2007 Beta 2 for your testing, you may now begin reviewing the beta of the documentation set.  You may notice a significant number of changes from our Exchange 2003 docs.  This is a direct result of work done based upon your feedback.  My goal is to make the documentation and other Exchange-related content as useful as possible to help you be successful with Exchange.  As with other content we publish to the Exchange TechCenter, you can readily rate and comment on specific portions of the documentation.  We will be publishing updates to the content through release - usually about every six weeks - and beyond.
 
Going forward we will provide regular updates on the changes we are making to improve the Exchange content story.  Please take a look at the beta docs and let us know what you think.

- Kevin Allison

Tuesday, June 27, 2006 1:14 PM

How to start up an Exchange User Group?

Over last few months, we had multiple questions on how to start an Exchange user group. Glad to see this much interest! So here's the scoop.

The Exchange team has been working with Culminis (an association that supports user groups) to provide resources regarding Exchange for anyone who wishes to start a user group. If you're considering leading or already leading a user group on Exchange, take a look at the Culminis Exchange Support Network and sign up for product group centric resources.

Yup, this process is the same for groups in countries other than US too, so don't be shy!

- The Exchange Team

posted by Exchange | 7 Comments
Filed Under: , ,
Monday, June 26, 2006 6:11 PM

Size of Exchange Server 2007 UM (Unified Messaging) messages

When talking about Exchange Server 2007 Unified Messaging (UM), we often get a question: "Just how big will those messages be?"

 

The size of UM voice messages depends on the size of the attachment that holds the voice data. In turn, the size of the attachment depends on three factors:

 

          (1) the duration of the recording

          (2) the audio codec used

          (3) the audio storage format

 

UM uses one of three codecs for creating voice messages: WMA (Windows Media Audio), GSM 06.10 and G.711 PCM Linear. The WMA codec is always stored in Windows Media format (the attachment is a file with a .wma extension). Audio encoded as GSM or PCM is always stored in RIFF/WAVE format (the attachment is a file with a .wav extension).

 

The graph below shows how the size of the audio depends on the duration, for the three codecs used:

 

 

PCM is uncompressed, and therefore occupies the most space at a given duration (just over 160,000 bytes for each 10 seconds of audio). It has the highest audio quality of the three. However, WMA and GSM are both acceptable to the vast majority of listeners.

 

GSM is compressed (just over 16,000 bytes for each 10 seconds).

 

WMA is the most highly compressed codec (about 11,000 bytes for each 10 seconds). However, the WMA format has a much larger header section than the WAV format (about 7K, compared to less than 100 bytes). WMA recordings become smaller than GSM recordings for durations of about 15 seconds and above. The average call-answered voice message is about 30 seconds long.

 

WMA is the default setting. GSM or PCM can be used where interoperability with other platforms is of great importance (the WAV format and GSM codec are widely supported).

 

- Michael Wilson

posted by Exchange | 2 Comments
Filed Under: ,
Monday, June 26, 2006 2:20 PM

Video: Jesse Dougherty on Exchange 2007 Security and Transport

Today we give you about 5 minutes of Jesse Dougherty, where he talks about Exchange 2007 Security and Transport. You can get to the video here:

- The Exchange Team

posted by Exchange | 0 Comments
Filed Under: ,
Friday, June 23, 2006 6:13 PM

Troubleshooting messages stuck in 'Messages awaiting directory lookup' queue

This blog post is a troubleshooting tip to tackle messages sitting in the Messages awaiting directory lookup queue of your Exchange 2000 / 2003 server. Also known as the Pre-categorization queue, "Messages awaiting directory lookup" queue is the queue where messages are held during the Categorization process. The advanced queuing engine places the message from the pre-submission queue into this queue so that the categorizer can process it. It's the throttling queue for the categorizer. The Messages Awaiting Directory Lookup queue contains messages addressed to recipients who have not yet been resolved against Active  Directory, while the categorizer resolves the sender and recipient information against Active Directory, expands distribution lists, checks restrictions, applies per sender and per recipient limits, and so on. Queuing calls into the CatMsg function which is handled by the Exchange Categorizer which categorizes the message. Pre-cat determines the target server for message by obtaining the HomeMDB and MSExchHomeServerName.

 

Messages can accumulate in the pre-categorization queue if the categorizer cannot process the messages. The categorizer might not be able to access the global catalog to access recipient information, or the global catalog lookup might be performed slowly or the global catalog servers are unreachable. On front-end servers, messages also remain in the Messages Awaiting Directory Lookup queue if you disable the Exchange store. It is recommended that you keep the Exchange Information Store service running on front-end servers to process messages successfully (NOTE: if the front-end server does not also serve as a transport gateway server, then the store is not required).

 

Below is a basic flowchart of all the queues:

 

 

Troubleshooting

 

Before troubleshooting the issue, it is important to answer some questions:

 

-        Is Awaiting Directory Lookup the actual problem or just a symptom of a bigger problem?

-        Are there other symptoms (i.e. unable to send mail, messages sitting outbox, etc)?

-        Has mail completely stopped on this server (internal & external)?

-        Is the mail completely stuck in the queue or it is just slow (performance issue)?

-        Is Regtrace enabled?

-        Is the queue backed up or moving slowly?

-         Look at messages in the queue - are they to a particular server and/or Routing Group?

-        Review the SMTP queues.  Are other queues backed up as well?

-        Within the queue, are there any common attributes with these messages (i.e. to or from specific users, particular mailbox or PF store, or replication messages)?

-        Are there any older or extremely large messages?

Depending on the answers to the above questions, here are certain steps one can take in order to get to the root of this issue. 

1. Categorizer logging

If the messages are in the Messages awaiting directory lookup queue, turn up diagnostic logging on the Categorizer. Locate the following key in the registry:

 

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeTransport\Diagnostics.

 

In the right pane, double-click Categorizer on which you want to enable debug logging, and change the value to 7.  At a minimum, also turn up diagnostic logging on MSExchangeTransports/Routing Engine to 5 in registry or maximum in the Exchange

System Manager, MSExchangeDSAccess/LDAP to maximum in Exchange System Manager &

MSExchangeDSAccess/Topology to maximum in Exchange System Manager. Try to send a test email, and check the application event log to see whether any related warnings or errors were logged.

 

Note: Setting the diagnostics logging level to Maximum can cause a large number of events to be written to the application event log. As a best practice, set the size of the application and system event log to 30 MB, and enable the option to overwrite events as needed. Remember to reapply the default setting of None after you finish testing.

 

2. Rule out Active Directory-bound Problems.

a. Exchange depends on the performance of the global catalog domain controllers. You can investigate CPU usage, as well as disk and memory bottlenecks, on your Active Directory servers. For each of the Exchange servers in the topology, you can use the counters listed in the "Troubleshooting Microsoft Exchange Server 2003 Performance" document to determine whether there is a slowdown in communicating with global catalogs. I would primarily focus on MSExchangeDSAccess Process\LDAP Read Time (for all processes),  MSExchangeDSAccess Process\LDAP Search Time (for all processes) and

SMTP Server\Categorizer Queue Length. For each of the global catalogs in the topology, use the counters listed in document to determine whether the global catalogs are experiencing performance degradations.

 

b. EXBPA along with EXPTA is a great utility to run under this scenario. I have found in several instances where changing the MaxPageSize attribute can cause such problems. According to ExBPA, the default LDAP page size on the GC has been changed from 1000 to 5000.  This can cause performance and it is highly recommended that the default value of 1000 be used. 

 

Below is a screenshot of MaxPageSize set too high causing messages to be stuck in "Awaiting Directory Lookup" queue.  It would be pertinent to address some of the issues that ExBPA found. Run EXBPA in permissions mode to ensure that it's not a permissions issue (ACL inheritance disabled and so forth). Verify that that "Allow inheritable permissions" is set on all Exchange servers objects in the Organization.

 

 

For more information on MaxPageSize refer to:

http://www.microsoft.com/technet/prodtechnol/exchange/Analyzer/ef05b737-0a94-49ab-8deb-5acf91865531.mspx?mfr=true

 

c. Since Active Directory is involved quite a lot in the pre-categorization process, one can also open the properties of the Server object in Exchange System Manager, and check the DC/GC servers assignment on the "Directory Access" tab. Basically if there are multiple windows sites hosting domain controllers and if for  any reason one of these domain controllers is been firewalled off or secured off, the DSAccess out-of-site topology discovery process tends to use up ldap threads and does not time out quick enough on the unreachable GC leading to problems with consumption of DSAccess' cached data. The result is RPC latencies due to ldap  latencies.

 

Typically using the registry to turn off out-of-site topology discovery will fix the issue. Below is an article that has information on how to stop out-of-site topology discovery

250570 Directory service server detection and DSAccess usage

http://support.microsoft.com/default.aspx?scid=kb;EN-US;250570

 

d. Run the DCDiag to verify that the communication between this Exchange server and the DCs/GCs works well.  As mentioned earlier, rule out Active Directory-bound Problems by checking whether the GCs are in high CPU utilization.  Also use exchdump and EXBPA utility to check the permissions and configurations of the Active Directory objects related to the Exchange transport, such as "Default Public Folder Store" value in Mailbox Store properties.

251746 Incoming Message Queues Are Full But the Messages Are Not Delivered

http://support.microsoft.com/default.aspx?scid=kb;EN-US;251746

 

3. Distribution lists (DLs) expansion or limits/restrictions

If you examine the message queues in Exchange System Manager and if you see lots of messages that are queued up in the "Messages awaiting directory lookup queue", the problem may occur when the following conditions are true:

 

1. You send mail to distribution groups. 

2. The distribution groups to which you send mail include lots of users who have delivery restrictions configured on their mailboxes. The distribution groups to which you send mail may or may not have nested distribution groups. 

 

Note: You configure delivery restrictions on user mailboxes by setting options on the Exchange General tab in Active Directory Users and Computers.

 

This problem occurs when lots of Lightweight Directory Access Protocol (LDAP) searches are initiated. Lots of LDAP searches are initiated when you send mail to distribution groups that include lots of users who have delivery restrictions configured on their mailboxes. This problem does not occur if you send mail to individual users who have delivery restrictions configured on their mailboxes. For more information, review the below article:

 

895407 In Exchange Server 2003, message delivery to local mailboxes and to external mailboxes is slower than you expect after you configure delivery restrictions based on distribution groups

http://support.microsoft.com/default.aspx?scid=kb;EN-US;895407

 

- Use Message Tracking to check whether the stuck messages need distribution list expansion or not. 

- Open the properties of the SMTP connector in the Delivery Restrictions tab to check whether you have added distribution lists to the Accept messages from list.

 

For additional information, click the following article:

812298 Mail delivery is slow after you configure delivery restrictions that are based on a distribution list

http://support.microsoft.com/default.aspx?scid=kb;EN-US;812298

 

- In the Active Directory Users and Computers snap-in, check whether you have configured delivery restrictions on the related user or group to reject messages based on distribution lists or security group membership.

 

For additional information, click the following article:

329171 XADM: Mail Delivery Is Slow if Recipients Are Configured with Delivery Restrictions Based on Group Membership

http://support.microsoft.com/default.aspx?scid=kb;EN-US;329171

 

The categorizer must have the complete set of recipients before it can submit the message to routing. Therefore, if an error occurs during the expansion of the query-based distribution group to its individual recipients, the categorizer must restart the process. If the error is considered temporary, then the message queues in the Messages Awaiting Directory Lookup queue until all the recipients are successfully resolved. Frequently, this problem is caused by global catalog servers that are unavailable, but it can also be caused by other things.

 

For additional information, click the following article:

823489 How to use Queue Viewer to troubleshoot mail flow issues in Exchange Server 2003

http://support.microsoft.com/default.aspx?scid=kb;EN-US;823489

 

You can improve Active Directory performance by offloading distribution list and expansion of query-based distribution groups to dedicated global catalog and Exchange servers. Expansion of distribution lists and query-based distribution groups severely affects the performance of a global catalog. To minimize the effect of performance on the global catalog, design your Active Directory deployment such that distribution lists have a limit on their size (such as 500 users), and any additional increase of distribution list members is through the use of nested distribution lists. Generally, the use of nested distribution lists yields better performance than large, single-paged distribution lists.

 

4. Journaling

Journaling is a byproduct of categorization, and the store has to be mounted in the event the message is marked again for content-conversion by the categorizer. If the journal recipient is not a valid object e.g. a deleted object in Active Directory, mail will build up in the "Awaiting Directory Lookup" queue until this is corrected. This applies even if the mail is still physically on an inbound bridgehead. The below article has information on how to troubleshoot this scenario.

 

884996 Messages remain in the "Messages awaiting directory lookup" SMTP queue in Exchange Server 2003 or in Exchange 2000 Server

http://support.microsoft.com/default.aspx?scid=kb;EN-US;884996

 

5. DNS

DNS problems may also cause this issue. Therefore, you can use general DNS troubleshooting commands to check the DNS health, such as "ipconfig /all", "Netdiag /debug /l" and "nslookup"

 

6. Other applications

Check whether any third-party applications, anti-virus programs, transport event sinks, spam filtering software and socket level applications (such as firewall clients) work on the Exchange server. 

 

7. Attributes of users

There are several attributes that must be correct for messages to be categorized. If any of these attributes are incorrect, it causes the message to stay in the categorizer and no Event IDs are created.

 

For additional information, click the following article number.

 

281761 XCON: Attributes Required to Route Messages Through the Categorizer

http://support.microsoft.com/default.aspx?scid=kb;EN-US;281761

 

8. Regtrace

Regtrace can show that the categorizer cannot initialize to query any Global catalogue servers if there is an issue with the GCs.  Follow the steps in article 238614 to configure Regtrace for the Exchange server. Make sure that you set registry Modules to CAT and EXSINK only. When you check the captured Regtrace file, you can look for "Setting List Resolve error" for further analysis.

 

9. Netmon trace

Netmon trace on the Exchange server will help determine if there is something wrong communicating with the GC.

 

10. Process dumps

When the problem is occurring, get the following data which will be very helpful in analyzing the root cause of the issue.

 

- 3 dumps of the inetinfo.exe process (Normally for messages waiting directory lookup an inetinfo.exe dump would be preferable to a store.exe dump), at 2 minutes apart

- Concurrent Perfmon/Perfwiz with all Objects, Counters, & Instances

- App & sys logs from the exchange server and the Global Catalog server

 

For more information on taking dumps, refer

286350 How to use ADPlus to troubleshoot "hangs" and "crashes"

http://support.microsoft.com/default.aspx?scid=kb;EN-US;286350

 

11. Exchdump tool

Using exchdump utility, verify that all Exchange servers in the Organization have the correct entries for Exchange domain servers on the Exchange server object's security.  Check this group for proper membership. Also verify that no recipient policy has an email address of any Exchange server name. For more information, review:

 

288175 XCON: Recipient Policy Cannot Match the FQDN of Any Server in the Organization, 5.4.8 NDRs

http://support.microsoft.com/default.aspx?scid=kb;EN-US;288175

 

12. Additional

Ensure that online maintenance, backups, or scheduled AV scans is not occurring at this time

 

Listed below are some useful articles which may help in troubleshooting this issue:

 

328339 Incoming messages to the back-end server are stuck in the Messages Awaiting Directory Lookup queue on the SMTP bridgehead server in Exchange 2000 Server and in Exchange Server 2003

http://support.microsoft.com/default.aspx?scid=kb;EN-US;328339

 

822451 Troubleshoot Message Failures in Exchange Server 2003

http://support.microsoft.com/default.aspx?scid=kb;EN-US;822451

 

281800 XCON: Troubleshooting Message Failures in Exchange 2000

http://support.microsoft.com/default.aspx?scid=kb;EN-US;281800

 

257265 General troubleshooting for transport issues in Exchange 2000 Server and in Exchange Server 2003

http://support.microsoft.com/default.aspx?scid=kb;EN-US;257265

 

There are some more causes that could be very specific to a particular environment that has not been included as a part of this blog. I hope this will help answer some questions and resolve such issues in the near future.

 

- Nagesh Mahadev

Friday, June 23, 2006 5:00 PM

Video: David Howell on Exchange 2007 Unified Messaging

Check out this 12 minute talk with David Howell. David is a Group Program Manager of Exchange Unified Messaging and goes over what's new and coming up in Exchange Server 2007 around one inbox - voicemail, email and fax.

You can get to the video here:

- The Exchange Team

posted by Exchange | 2 Comments
Filed Under: ,
Thursday, June 22, 2006 6:00 PM

Video: Kristian Andaker on Exchange 2007 OWA

Continuing our TechEd iterview series, we bring you Kristian Andaker. Kristian is a Program Manager Lead of Outlook Web Access (OWA) and talks about improvements in Exchange Server 2007 OWA client.

Check it out here:

- The Exchange Team

posted by Exchange | 0 Comments
Filed Under: ,
Thursday, June 22, 2006 12:36 PM

More Tech-Ed goodies

Also at Tech-Ed, we had some awesome hands-on labs using a post-beta1 build of the product (side note: I really enjoyed the healthy competition between the exchange labs and the other products... the proctors of our labs (and me!) were really proud of how many people we had do our labs as compared to others :-).

We gave away DVDs with the virtual PC images of the hands-on labs to attendees at tech-ed, but we still have a ton of those DVDs left over. This is not a full installable build, and it's not beta 2, but it is an interim build of the hands-on labs in a VPC image that you can play around with until beta2 is available.

The build is called "DF4" internally, short for Dogfood 4, the fourth major fork of a build we've put in our dogfood environment since beta1 - we've since moved on to later builds in production for the 6000 folks we have dogfooding e2k7 at microsoft, it takes a long time to get labs and images prepared.

If you weren't at tech-ed and would like to receive one of these DVDs, I put my hands on a bunch of extra ones. Please send a pre-addressed stamped envelope that is at least 6" x 8" to us inside another envelope. Include enough postage to get the DVD back to your address, wherever in the world you are - the DVD package is a couple of DVDs inside some cardboard, it's only a few ounces.

Any envelopes sent to us that are not fully addressed, don't have the right postage, aren't big enough, etc will not be returned and we will not contact you to notify you of this - sorry, but I'm expecting to get a lot of requests, and I just don't have the time to micromanage at that level of detail.

Send it to:

KC Lemson
Tech-Ed VPC DVD
One Microsoft Way
Redmond, WA 98052

And if you want, include a note in the envelope that has an explanation of your favorite feature(s) in Exchange 2007, we'd love to see those :-)

- KC Lemson

posted by Exchange | 2 Comments
Filed Under: , ,
Thursday, June 22, 2006 12:26 AM

Tech-Ed bling

At Tech-Ed, we gave away about a bajillion (give or take a few) of buttons with various phrases on them, like "OWA ROX" or "I GOT UM":

If you'd like to buy any of your own, they're up on our cafepress store, in both button and magnet form.

At Tech-Ed, ten lucky customers walked away with buttons that said "AWW YEAH"... I never actually meant to give those out, actually, I just made them for some folks on the team and forgot to separate them out when I shipped the boxes to Tech-Ed. Oops! Apparently a few people thought that there was a contest and if you got a button with a certain phrase you'd win something... that's a great idea, wish I'd thought of it in advance.  

So I figured that I'd take the opportunity here: if any of the people who got the "AWW YEAH" buttons read this, take a picture of you wearing the button and send it to me along with your snail mail address (kclemson at microsoft dot com), and I'll send you some Exchange swag. :-)

- KC Lemson

posted by Exchange | 9 Comments
Filed Under: , ,
Wednesday, June 21, 2006 3:21 PM

Video: A TechEd 2006 talk with Terry Myerson

TechEd 2006 wrapped up last week in Boston, USA. For the Exchange team, we had 58 breakout sessions, 24 chalk talks and 15 hands-on labs in the messaging and mobility track - among which 27 of the sessions focus on Exchange Server 2007.

While you might not have been there in person, we caught up with some product team folks at the convention floor to talk about Exchange 2007 after their presentation.

In the first of several videos from TechEd, Terry Myerson, General Manager of Exchange talks about what's coming up in Exchange 2007. Enjoy!

Check it out here:

- The Exchange Team

posted by Exchange | 0 Comments
Filed Under: ,
More Posts Next page »

News

This is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified in the Terms of Use.

New! Would you like to suggest a topic for the Exchange team to blog about? Send suggestions to us.

Post Calendar

<July 2006>
SuMoTuWeThFrSa
2526272829301
2345678
9101112131415
16171819202122
23242526272829
303112345