| Tony
Redmond / November
1, 2000
Tips from an Email Road Warrior
Streamline OST synchronization
I'm a self-confessed road warrior—one of those people who spend far too much time figuring out how to make connections from hotel rooms, airport lounges, and other places so that I can send and receive email. Slow connections are frustrating, and I never seem to have enough time to get through all the mail. Microsoft Outlook supports offline working, which means that you read, delete, create, and send messages without a network connection; Outlook synchronizes all the activities with the server the next time you make a network connection. The basis of these actions is an offline store (OST) file, which stores replicas of folders that you nominate for offline access. By default, Outlook always makes replicas of the set of special folders (i.e., Inbox, Sent Items, Outbox, Deleted Items), and you can mark other folders by setting the synchronization properties of selected folders. I describe this process in more detail later in this article. Good offline working habits make synchronization faster. Paying attention to the way you work offline and the data that Outlook holds offline can help you get through your messages more quickly. You can also tweak Outlook slightly to throttle back some functionality in a trade for shorter online sessions. Let's look at how you can streamline work on the road. The Synchronization
Process The synchronization process goes through several phases to transmit messages that you've prepared offline and to ensure that any other offline changes (e.g., updates, deletions, messages refiled to another folder) are replicated to the server to which you make a connection. Outlook signals each phase in the bottom right corner of the Outlook status bar, and you can keep an eye on the status and the statistics that the DUN applet reports to get an estimate of the network traffic involved in each operation. The exact amount of data transferred will vary because the amount depends heavily on the number and type of messages sent and the other changes that Outlook must replicate to the server. Let's look at a typical scenario in which you've created several messages offline and then connected to send the messages. The default synchronization process goes like this. Outlook
As you can see from this process, the data sent during any session is a mixture of overhead and messages. For example, I created 23 messages offline and calculated the message sizes that Outlook reported, which came to 147KB. This measurement is unscientific, but it provides a guideline. When the synchronization process was over, the DUN applet, which Figure 1 shows, reported that the client sent 455KB and received 308KB (to update message status, views, and so forth). These numbers don't mean that overhead increases by roughly three times the amount of data transmitted to send messages; the amount of overhead data remains almost constant as the message traffic grows. For example, if you sent the same number of messages that include some large attachments, making their total size approximately 3MB, I'd expect the total data transmitted would be around 3.5MB. Recipients and
Message Content and Attachments You can reduce the amount of this data by using system distribution lists (DLs) instead of inserting the address of each recipient individually. A system DL is expanded when the message arrives at the Exchange server (the SMTP Routing Engine expands DLs on Exchange 2000 servers, and the Message Transfer Agent—MTA—expands DLs on servers running earlier Exchange versions), but details of individual recipients don't travel around with the message. Personal DLs, which users set up in their contact folders or Personal Address Books (PABs), are expanded before Outlook transfers a message to the server, so Outlook always holds the individual recipients' addresses in the message header. When the header includes addresses, the overall size of the message increases. Thus, paying attention to how they add recipients to messages is one way users can limit the data sent between client and server. However, even the most fastidious attention to recipients probably won't reduce connection times significantly. Message content and attachments affect connection times much more. Graphics in AutoSignature files probably cause the most wasted transmission time during Outlook synchronization. AutoSignatures let users provide additional information about a message sender, such as telephone numbers and business title. Unfortunately, artistically inclined users swiftly realized that they can incorporate graphics files into AutoSignatures. Most of these graphics only increase the amount of data that Outlook must transmit during synchronization. Users might not realize the effect of cute AutoSignatures, but even the simplest graphic adds tens of kilobytes of data to each message, and more complex graphics can add up to a megabyte. For example, a small Compaq logo adds 40KB, while a logo rendered in 256 colors adds 212KB. If enough people add logos and graphics to AutoSignature files, the flow of email messages across dial-up connections slows dramatically, and your databases fill up with useless graphics. A better solution is to use text-based AutoSignature files that use a combination of fonts, type sizes, and colors to create the desired effect. Proponents of graphics in AutoSignatures ignore the fact that the Exchange Server 5.5 Internet Mail Service (IMS) strips out embedded graphics when the IMS converts Rich Text Format (RTF) messages to SMTP/MIME before transmitting them outside an organization. Exchange usually passes through graphics in HTML messages. Thus, although internal recipients will see the graphics content, external recipients are blissfully unaware that the sender has included a sophisticated graphic. In light of this fact, there's absolutely no reason why people should engage in such a wasteful habit. The standard format for Outlook messages is Microsoft RTF. Outlook can compress RTF content when messages are sent between client and server, and the DUN applet reports how successful compression is, if you look at the session statistics. For example, Figure 1 shows that the current session has attained a 46 percent compression ratio, which is quite good. The ratio covers both message content and attachments. If you use HTML instead of RTF as your standard message editor, the ratio gets worse because HTML content is never compressed. Adding Zip file attachments has the same effect. These attachments are already compressed and can't be compressed any further. The compression ratio for a session in which you send a number of messages with Zip file attachments will be much lower—5 percent to 10 percent isn't unusual. On the plus side, because most files become much smaller when they're compressed, a Zip file usually requires less transmission; therefore, synchronization is faster. Microsoft PowerPoint 2000 files are the exception; graphics are already compressed inside these files, so putting PowerPoint files in a message doesn't reduce the files' size significantly. The same is true of Microsoft Word 2000, which compresses graphics inside .doc files. However, Outlook doesn't handle graphics in documents and presentations generated by earlier versions of Microsoft Office so elegantly. Therefore, you'll do well to send those files in Zip files. Controlling Flags and
Properties Outlook treats every message as an object that has a set of properties, which MAPI defines. Familiar properties include message subject, the recipients, and date sent. Other properties are less obvious, and some aren't essential if you just want to send and receive email. For example, Figure 2 shows some detail from my Inbox. You can see that most of the messages have an icon with an arrow pointing to the left. This icon signifies that I've replied to the message. Figure 3, page 12, is another example. In this case, the message header shows the time and date of your reply. Forwarded messages hold the same type of data. Outlook holds information about a message's reply or forward status in a set of properties that are updated during the synchronization process. However, because Outlook doesn't support field-level updates, it must update a complete item to effect these changes, so the data that Outlook must send from client to server increases dramatically. Typically, this is an insignificant factor in the background overhead of the synchronization process, but if you start to forward or reply to a message that has a large attachment, Outlook must resynchronize the complete message to ensure that it has the same status on the server and OST. A future release of Outlook might address the lack of field-level updates, but until then, the only thing you can do is to instruct Outlook not to bother tracking reply and forward status: In effect, you disable these features. You can't disable the features only during synchronization operations, however. Once disabled, reply and forward information won't be tracked even when you're connected to the server across a high-speed LAN. Like most magic with Microsoft products, you disable tracking of replies and forwards through a registry entry. Figure 4 shows a registry subkey you can add to disable the features in Outlook 2000. The subkey in Outlook 2000 is HKEY_CURRENT_USERSoftware\Microsoft\Office\9.0\OutlookOptions\Mail\RFNoTrack = 1. In Outlook 98 or Outlook 97, you use HKEY_ CURRENT_USER\Software\MicrosoftOffice\8.0\Outlook\Options\Mail\RF NoTrack = 1. After you add this subkey, the features will be disabled the next time you start Outlook. To enable the features again, simply delete the registry subkey. As always, use caution when you edit the registry to avoid damaging your system. I've been running Outlook with these features disabled for several months, and I haven't missed them. I suspect many other users who spend a lot of time working across telephone connections don't care about this information, either. Free/Busy Updates Filtering Offline
Folders If you want to limit connection times, you can create synchronization groups—target sets of folders that you want to synchronize together. For example, you can create a group that instructs Outlook to synchronize only essential folders when you connect. As I mentioned earlier, you can also download the OAB automatically by including it in a synchronization group. Figure 6 shows a synchronization group that I created to download the OAB and synchronize only two folders. To create a synchronization group, go to Tools, Synchronize, Offline Folder Settings. You can also use public folders offline. However, before you can mark a public folder for offline access, you must first make the folder one of your Public Folder Favorites. Every folder you mark for offline access adds overhead to a synchronization session. Outlook must check every folder and compare the contents of the server with that of the OST, and then synchronize the changes while considering any filter. If you want snappy synchronization sessions, limit the number of folders marked for offline access. Streamline Your
Client If you decide that Outlook requires too many resources, consider using Outlook Express as your client on the road. Outlook Express uses IMAP4 or POP3 (the former is preferred) to access an Exchange mailbox and uses far less bandwidth than Outlook. IMAP4 or POP3 requires less bandwidth than Outlook's MAPI RPCs, and Outlook Express is a less-functional client than Outlook. The good news is that both can happily access the same mailbox, so if you want the fastest connection across a low-bandwidth link and can live without features such as shared calendaring, Outlook Express is a solution you should consider. You can also use Outlook in Internet Mail Only (IMO) mode and connect it to Exchange through IMAP4. However, this option seems like overkill because Outlook's rich features are best used in conjunction with Exchange when connected through MAPI. However, if you want to use all of Outlook's features, take care to work intelligently. Working offline and using synchronization thoughtfully, paying attention to the format and content of messages, and making some trade-offs between features and network consumption are all things you should keep in mind. Training is also an essential part of any deployment—the good habits you teach users can help keep down the demand for network capacity and reduce expensive phone bills from hotels and other locations. Figure 1 ![]() Figure 2 ![]() Figure 3 ![]() Figure 4 ![]() Figure 5 ![]() Figure 6 ![]() |