Thursday, 26 February 2009

Outlook 2007 update available!

You can grab the update here: http://support.microsoft.com/?kbid=961752

A full list of changes for Outlook are here http://support.microsoft.com/?kbid=968009, they're included here:


General responsiveness
The overall responsiveness for Outlook 2007 SP2 is significantly improved over the responsiveness of Service Pack 1. Responsiveness can be loosely defined as the application's reaction time when you use the user interface (UI). A perfectly responsive application will always immediately begin performing the task that is requested even if that task takes a long time. For example, in Outlook this could be clicking to switch folders while you wait for a very large folder to load, and clicking the ToDo Bar to enter a task. Making Outlook noticeably more responsive was a big priority for this release.

Storage engine
The most important changes come from underlying optimizations in the local storage engine. Both Personal Folders files (PSTs) and Cached Exchange Stores (OSTs) are built upon the same underlying storage engine. In this article, PST refers to both technologies. We have improved the general reading and writing characteristics of the PST so that less is demanded from the disk to perform the same general operations in Outlook. For example, file flushing is optimized so that it interacts more efficiently with the operating system and disk write caches. We have also changed the way new data is written to the PST. Now, it is saved much closer together on the physical disk and requires less physical work from the drive. This speeds up the time that is required to write the same amount of data. A side effect of this data writing algorithm is that PSTs are approximately 20 percent larger than in previous releases. However, we have observed large gains in write performance and a reduction in overall writing to the disk. Whereas write optimizations have been the single biggest change in the storage engine, there are also other small changes that deliver additional benefits. For example, internal storage engine optimizations were made after analyzing the most common kinds of operations the storage engine performed during typical usage. We have also optimized the way internal "change notifications" are processed, especially when there are many of them. Specifically, when you add significant data to the PST, lots of notifications are triggered for various data structures to be updated to accommodate the new data. Because these notifications are faster and require less I/O, the raw performance of every small operation improves. This means significant savings over time.

User interface
In addition to optimizing the storage engine, Microsoft spent time and resources investigating and addressing some common sources of unresponsiveness in the Outlook application layer. We have seen that some of the most frustrating instances of unresponsiveness occur when Outlook is doing work unrelated to any user actions. Such situations are especially frustrating because the user cannot predict when they will occur or how long they will last. Two of the more common causes of Outlook unresponsiveness that are unrelated to user action were processing updates to the message list and processing updates to other elements in the main window in Outlook. Our engineering team undertook a complex effort to fundamentally change the methods in which such updates are processed to minimize their effect on Outlook responsiveness in SP2.Some other application layer changes that we made are for scenarios that may not affect all users. However, we believe that these scenarios are a significant source of dissatisfaction to the users who are affected. For example, when the reminders dialog box appears, the prior behavior was to process and write the changes to the store immediately when the user requested an operation such as dismiss or snooze. Now, those changes are queued so that responsiveness is immediately restored to the UI. Therefore, you can click Dismiss as fast as your mouse will allow, and when the last reminder goes away, the dialog box will immediately disappear. We also made some changes to the way rules are processed so that many client-side actions, such as moving mail from a specific distribution list to a separate PST file, leave the Outlook UI far more responsive.We have also made changes specifically targeted at customers who use POP and IMAP servers. For POP mail users, we now retrieve the newest mails first, which hopefully helps you get to your most important work faster. IMAP mail users will notice that downloading message bodies no longer stops Outlook from responding to additional user commands.

Starting Outlook
Our approach to optimizing the startup process is fairly straight-forward. We analyzed all the tasks Outlook queues and improved the boot time by removing a few operations that were considered unnecessary, and by better orchestrating the execution of the necessary tasks. The result is a noticeable positive improvement. Quantifying the exact improvement is difficult because most people's experiences vary widely based on several factors. These include the following:
Number of add-ins
Amount of memory on the computer
Speed of the hard disk drive
Number of other applications currently running
Size of the mailbox and size of additional stores mounted (overall optimizations in the PST also help here)
Number of customizations made to the UI that must be loaded

Essentially, we have seen Outlook starting about two times as fast in many of our tests and in our own experience running the builds for our daily mail use.

First startup experience
Immediately after you install the SP2 update, the first startup of Outlook will not be fast because Outlook must update internal PST data structures that are used in our optimizations. This is a one-time cost however, and affects just the initial startup. As soon as the data structures are updated, Outlook can then benefit from the improvements. We hope that, as soon as the upgrade process is complete, and you begin to see Outlook 2007 SP2, you see that the rewards were definitely worth the wait. There is a new upgrade dialog box with progress to show some optimizing work Outlook is doing to make everything faster on the disk.
Collapse this imageExpand this image
The responsiveness of Outlook will improve after this dialog box closes. If you choose to create a new profile and resynchronize your mail, the storage upgrade happens dynamically as new content is added to your new local data file. Therefore, there is no upgrade dialog box. However, some non-responsiveness that is associated with the first startup may occur. Again, after several minutes, Outlook responsiveness will improve.

Shutdown
Outlook had built-in logic that caused it to refuse to shut down when it detected that a third-party was using it for data access or otherwise was integrated with Outlook functionality. A side effect of this design was that, to the user, Outlook would frequently not exit for no apparent reason. If all storage providers support it, for SP2, we have optimized for the user's choice to shut Outlook down by stopping all server activity, flushing unsaved PST content to the disk, saving unpersisted preferences and settings, and then quickly exiting. Most notably, Outlook no longer waits for external references to be released. Note Outlook Live Connector (OLC) 12.1 does not support this faster shutdown. Therefore, Outlook must continue to use the slower shutdown method when OLC 12.1 is being used to make sure that data is not lost.The result is a consistently reliable shutdown, even during periods of heavy activity, such as server synchronization. There is more technical information (http://msdn.microsoft.com/en-us/library/dd239276.aspx) available for developers about how to update their applications to best integrate with this new shutdown model. Our goal is that Outlook shuts down quickly (in just a few seconds), reliably and consistently. Also, a new Outlook icon appears in the notification area after you close Outlook, but the Outlook.exe process is still running. As long as the Outlook.exe process is running, and the Outlook UI is unavailable, the
Collapse this imageExpand this image
Outlook icon appears in the notification area.

Folder/view switch
For folder switching and arrangement switching, we have developed a highly optimized, very compact new index of the folders' contents that is sorted by date. A date sort is the foundation of the most frequently used contents table arrangement. Being able to load a very small and always up-to-date version of this index in a short time is the backbone to a very fast folder switch experience in SP2. The new date index is much more effective, even with tens of thousands of items in a single folder.The result is that switching to even the largest folders takes mere seconds, although sometimes the first switch to the folder can take longer while we build up the indexes. This, again, is a one-time cost. Note Most of these gains are seen when you use Outlook in Cached Exchange Mode together with OSTs and PSTs. Online Mode users will continue to see their view performance dictated largely by server performance and network conditions.


Enjoy a speedier Outlook 2007,



Oliver Moazzezi

MVP - Exchange Server

Wednesday, 1 October 2008

Can't migrate accounts using Transporter Suite for Internet Mail









I was testing this in my lab, and of course used the default Administrator account. I kept getting the error of :

Warning:An item has failed property validation and will be ignored.
IdentifierName: Subject of message in inbox
Error details:Required property is empty.
Property:TargetServer..

I had created the correct impersonalisation permissions on the Client Access Servers and also added the following line into the EWS web.config file to allow mail to be imported over 3mb:

httpRuntime maxRequestLength="100000" / (in <>)

However I was still getting this error.

I then remembered reading an article on TechNet about the Administrator account not being able to log on via IMAP4 or POP3, as it is hard coded to be blocked by default.

I then created a 'migration' account user in AD, and gave that using Exchange Administrator permissions and the relevant impersonalisation permissions, and was able to succesfully migrate Internet email into Exchange using both POP3 and IMAP4.

You can download the Microsoft Transport Suite of tools here:

http://www.microsoft.com/Downloads/details.aspx?familyid=35FC4205-792B-4306-8E4B-0DE9CCE72172&displaylang=en


Oliver Moazzezi

MVP - Exchange Server

Monday, 1 September 2008

Virtualisation Support for Exchange 2007 SP1 is here

Microsoft have recently announced that they will now support Exchange 2007 SP1 running on a virtualised Hyper-V Windows 2008 platform.

There has been a new article published that gives you the information about best practices for running Exchange 2007 SP1 on Hyper-V.

If your thinking of giving this a go read this first has some very good information about planning for doing this in a production environment.

http://technet.microsoft.com/en-us/library/cc794548.aspx

You must use Exchange 2007 SP1 on a Windows 2008 operating system to be supported

Note the Unified Messaging role will not be supported in a virtualised environment.

It's not just Hyper-V that will be supported which is a big surprise other vendors are being supported to see: http://windowsservercatalog.com/svvp.aspx?svvppage=svvp.htm

This is something that a lot of Exchange admins have been waiting to happen for a long time and a constant question i see banded around the Microsoft support forums so it's good to see Microsoft giving people the flexibility to use virtualisation with Exchange 2007 SP1.

Wayne Hollomby

Monday, 18 August 2008

Recovering an Exchange 2007 Server








So i'm recovering this Exchange Server in the Test Lab, and one thing that really bugs me is the fact that when using the /recoverserver switch (more info here: http://technet.microsoft.com/en-us/library/bb332343(EXCHG.80).aspx), Exchange is installed to the default location (%program files%\microsoft\exchange server).

I find this rather annoying as the install path is recorded on the Exchange Server object in the Configuration Container partition of AD.

When recovering a server however you can specify an alternate install directory. After /recoverserver use /t or /targetdir and specify the install directory.

Example: setup /m:recoverserver /t:"D:\Install\Exchange"


Oliver Moazzezi

MVP - Exchange Server

Wednesday, 25 June 2008

HMC 4.5 Released

Microsoft have just released there latest and greatest version of Hosted Messaging and Collaboration Solution the new version has some really good added features that will please hosters there is support for OCS 2007 as one of the major components to be added but also some added features for Exchange 2007 SP1 being supported like resource mailboxes and web based offline address books to give you option of moving away from having these sitting on the public folders servers if all of your users are running Outlook 2007.

Download and information above this release can be found on the new service provider website from Microsoft at http://technet.microsoft.com/en-us/serviceproviders/default.aspx

You will also be glad to here there is a migration kit on it's way to enable you to move from HMC 4.0 to 4.5 and directly from HMC 3.5 to 4.5 i will post more information about this when it becomes available.

Wayne Hollomby

Tuesday, 3 June 2008

msExchMailboxFolderSet and HMC4.0 + HMC3.5 co-existence








If you are deploying HMC4.0 in co-existance with HMC3.5, and not a Greenfield install, then read on.

In co-existance when moving all POP, SMTP, IMAP and OWA urls(inc. Outlook Anyhwere/ RPC over HTTPs access) over to Exchange 2007 Hub Transport and Client Access Servers, be aware there is a bug if you have used OWA segmentation using the msExchMailboxFolderSet attribute.

More on Exchange 2003 OWA segmentation here:


http://support.microsoft.com/default.aspx/kb/833340

The issue is if you use the value '4294967295' (FFFFFFFF) to set 'All Features' for Premium/Gold/'your full access mailbox type here'.


'FFFFFFFF' is read as -1, and Exchange refuses to allow POP3 and IMAP connectivity on the mailbox. Further the Exchange Management Console also flags the 'msExchangeMailboxFolderSet' as corrupt when selecting a user under 'Recipient Configuration \ Mailbox'.

Setting the value to '131071', as mentioned in the article, fixes the issue. (edit: there was an issue with this kb which has now been fixed, so additional notation on 131071 and 1310071 removed).
The way to fix this is to set the attribute to (null), or 131071 as mentioned in KB833340.


Other values that actually do restrict OWA use appear to not be affected.

This will also effect any ordinary enviroment that is in transition from Exchange 2003 to 2007 and is using the msExchMailboxFolderSet attribute in this way.



Oliver Moazzezi

MVP - Exchange Server



Wednesday, 21 May 2008

Microsoft to withdraw per incident support for Hosted Exchange (you need a proper support contract!!)

If you're a provider of Hosted Exchange/HMC, should should read this: http://blogs.msdn.com/gavingee/archive/2008/05/16/important-changes-to-support-for-hosting-solutions.aspx

If you've got an HMC platform then you need to have the appropriate Service Provider Support Contract in place from end-June. Microsoft are withdrawing the per-incident credit-card support for HMC, often used by smaller Hosting providers to gain support from Microsoft for inidents and issues.

We've got one and it's very very useful - not only have the global hosting support team undertaken a review of our platform so that they understand us better, we also get a named TAM (Technical Account Manager; Paul you are a hero!) with pro-active support and training from MS too.

BTW, Gavin's blog is a useful source of SaaS & Hosting news with a focus on the UK. Gavin works in the UK Hosting team for Microsoft (a useful contact for you all)

Tuesday, 20 May 2008

Update Rollup 2 for Exchange Server 2007 SP1 Released

Microsoft have released another rollup fix for Exchange 2007 SP1 to follow on from rollup 1 a few months ago.

You can download it from http://www.microsoft.com/downloads/details.aspx?FamilyId=99DA32E0-D9E3-4156-AABF-8369BF96E3E7&displaylang=en

This update has all the fixes that were in Rollup 1 included so you can now just install rollup 2 and you will get all the latest updates.

A description of the fixes included in rollup 2 can be found at http://www.microsoft.com/downloads/details.aspx?FamilyId=99DA32E0-D9E3-4156-AABF-8369BF96E3E7&displaylang=en

Tuesday, 6 May 2008

Now you can all get Xobni for your inbox

Well done to the team at Xobni - after 7 months of invite-only beta testing, it's now available for publicly for anyone to download.

You can get it here http://www.xobni.com/?friend=72198
Have a look at the video on their site if you still need convincing... it's good stuff.

Thursday, 1 May 2008

Mail enabled Contacts in a Hosted Enviroment and the Offline Address Book.









Contacts in a Hosted Exchange environment can be tricky to implement succesfully, with 1) the way Exchange searches object attributes to create an Offline Address Book and 2) Active Directory not allowing 2 objects to have the same proxy address (which in all fairness is actually a great necessary check in the GUI to have – although this can be bypassed with LDAP manipulation! (ADSI too) – Note: having two objects with an identical proxyaddress will break delivery to that address and is considered attribute corruption of Active Directory).

So how does the Exchange 2003 System Attendant (using oabgen.dll) determine objects to be included for OAB generation? - It looks to see if the object has two attributes: a ‘proxyaddress’ and ‘mail’ attribute. It will further check to ensure the primary (SMTP in uppercase) ‘proxyaddress’ matches the mail attribute address.

So how does an Exchange Hoster get around 2 companies having the same contact of
john@doe.com for example?

First let me explain the TargetAddress and ProxyAddress attributes on a mail enabled AD contact.

The TargetAddress is their actual email address, for example :
bill@microsoft.com
The ProxyAddress is what RUS (if you use it – HMC disables all but Enterprise RUS (enabled for System Attendant operation)) stamps on the objects email addresses tab. RUS can of course be told to bypass objects by unchecking ‘Automatically update email addresses based on recipient policy’. You will find the primary proxyaddress will be the address of the contact, matching the targetaddress, and depending on RUS and Recipient Policy configuration it could well be stamped with further proxyaddresses.

So,
john@doe.com – how can two customers have this contact in an HMC/Hosted Exchange environment?

The short answer is they can, but it cannot show up in the OAL. This is due to the Offline Address Book generation specifying proxyaddress attributes I mentioned earlier, rather than also considering targetaddress attributes.

99% of hosters won’t have this problem – and contacts will be generated with a proxy address (something HMC supports by default). However when you run into this problem it does cause customer grief.

One way of bypassing it is to give a bogus proxyaddress, for instance ‘HostedCompanyName.joe@bloggs.com’, where HostedCompanyName is the name of the Hosted Exchange customer.

This does work, but introduces other issues when a user outside the Org performs a ‘Reply All’. Take a look.

Here’s the properties of the contact from the GAL:




























Here’s the contact from the AD, I have pulled the info from ADSIEdit:

You can see the highlighted proxyaddress and targetaddress attributes clearly:



















When you send a message outside of the Org, and include the contact, if anyone that is also outside the Org does a 'Reply All', they will only see the incorrect proxyaddress and not the correct SMTP address of the contact, which is the targetaddress:



















This of course will result in an NDR


The fix? Remove the proxy attribute altogether, removing the contact from OAB generation, or have the primary proxy address match the target address (standard Exchange2003/2007 behaviour) – but something that will cause mail flow issues when you get a customer with the same contact.


Oliver Moazzezi

MVP - Exchange Server