Click to Rate and Give Feedback
Articles by this Author


By R'ykandar Korra'ti (February 2007)


By R'ykandar Korra'ti (October 2006)
Over the previous two issues, I discussed the two most popular Internet message-moving protocols, SMTP and POP3. This month, I will approach the Internet Message Access Protocol Version 4, revision one (IMAP4rev1), often referred to just as IMAP4.

By R'ykandar Korra'ti (March • April 2006)
In the last issue, I discussed SMTP, the most common protocol for sending e-mail across the Internet. Now I’d like to discuss the other Internet protocol that almost all mail clients support: POP3, which lets users access the e-mail on their mail server.

By R'ykandar Korra'ti (January • February 2006)
SMTP, the Simple Mail Transfer Protocol, carries the electronic mail of the world. While other message transferring systems exist—some more efficient, some better at specific tasks, some privately owned and some public—none have won the widespread public acceptance of the venerable SMTP, first defined in RFC 821, all the way back in 1982.

By R'ykandar Korra'ti (November • December 2005)
As a network administrator, you've just seen fifty copies of the same e-mail virus sent to your users. How do you know which machine is infected? Is it someone inside your own company or someone external you can block?

By R'ykandar Korra'ti (Winter 2005)
More ...
Popular Articles
SQL Server 2008 introduces two new features that allow you to track changes more easily and efficiently. Paul Randal examines the new Change Tracking and Change Data Capture features and discusses the implications these features will have for database administrators.

By Paul S. Randal (November 2008)
The key to successfully scaling an ASP.NET application is having a collaborative effort between developers and network administrators, starting at the beginning of the application’s lifecycle. Find out what factors are necessary to scale an application, and see how this collaboration can help ensure the application will run as intended.

By Richard Campbell (August 2008)
The recent update to the Windows Vista Firewall offers some impressive new features that make it a compelling choice for the corporate environment. Jesper M. Johansson gives a brief overview of the evolution of the Windows Firewall and delves into enhancements—such as new rules and profiles, domain isolation, and encryption—that will have administrators taking a closer look.

By Jesper M. Johansson (June 2008)
Your users are complaining that a server is running poorly—do you know where to look to diagnose the problem? PerfMon can be an indispensible tool for this as it has numerous diagnostic capabilities. Get an overview of the key indicators you should use to diagnose a variety of common bottlenecks that can slow down your servers.

By Steven Choy (August 2008)
More ...
Read the Blog
The much-anticipated release of Windows Server 2008 introduced significant changes to the OS, adding powerful functionality such as server core, server roles,  read-only DCs, Hyper-V, Terminal Services Gateway, and enhancement support for Internet Protocol version 6 (IPv6). While these changes and new features are beneficial, they ...
Read more!
Virtualization is hot nowadays, but Terminal Services has been abstracting the presentation layer of remotely run applications and desktops for years. A lot has changed over the years, and with Windows Server 2008, Terminal Services has truly become a mature, robust presentation virtualization ...
Read more!
If you’re an OpsMgr 2007 administrator, chances are good that you’ll be creating custom monitoring objects (rules, groups, and so forth), and for each one you build, you have to decide what target to use. That’s a critical decision, but knowing how to go about choosing the correct target is not always clear. Steve ...
Read more!
The November 2008 issue of TechNet Magazine is now available online.   FEATURE ARTICLES                                                                   ...
Read more!
It's been about 8 years since Scott Culp published "The 10 Immutable Laws of Security." It is one of the best and most important essays on computer security ...
Read more!
As you might have guessed, October is virtualization month. TechNet Magazine is celebrating with a blockbuster issue,  there are launch events all over the country, and there are a slew of on-demand webcasts that let you explore the world of server virtualization. Here’s just ...
Read more!
More ...
Field Notes IMAP Saves the World
R'ykandar Korra'ti

Sometimes solutions to new, small problems can solve old, large problems as well. This is one of those cases.
Last winter, our Web administrator bought a MacBook. She had been running Windows® exclusively, but now she'd have both OS X and, in a virtual machine, Windows XP for syncing her Windows Mobile® devices and a few other small tasks.
She needed access to all her mail archives from both operating systems. But she didn't want to run Entourage on the Mac side—that would have been too easy. No, she wanted to run Mail.app, the e-mail client included with OS X. Incidentally, she'd kept everything in her laptop's local store, unmirrored. My job: make this go.
Having archives be readable everywhere presented only the small problem mentioned previously because—and this is the first moral of our story—everything, including Exchange Server, Microsoft® Office Outlook®, and Mail, speaks IMAP4. IMAP4 is a messaging protocol for handling on-server message stores from thin clients. It has fewer features than Exchange users might enjoy, but it works (see How IT Works: IMAP4 in the March-April 2006 issue of TechNet Magazine at technet.microsoft.com/magazine/cc161016).
So, change a few settings to bring IMAP4 over SSL online, copy all of her local folders up onto the server, and ping! She could access mail on all clients and keep her Windows Mobile devices updated. Problem solved.
But coming up with a simple solution to a potentially hairy problem is like getting a new table saw. Suddenly you start looking for more plywood, and before you know it, you've got stage sets built and you're ready to play "Romeo and Juliet."
Our tiny ISP runs Windows, OS X, Mac OS, Linux, and even has one lonely old AmigaOS system hanging around on the fringes looking for a friend. Long ago, we hosted Usenet news and UUCP mail on that Amiga. It created archives stored away in RFC-733/Amiga­UUCP format. We also have Microsoft Mail archives (.mmf format) and some similar-vintage UNIX mail archives (.mbox format). They've all just been sitting there, mocking us—a problem we'd consider every so often and then flee, screaming.
This scenario brings us to the second moral of our story, the Danger Hacker motto of lore: Never Erase What You Can't Replace.
We tackled the Microsoft Mail archives first. Outlook hasn't been able to import .mmf files in some time. But as we've upgraded clients over the years, we've kept at least one license of each older product because you just never know. As a result, our license rack forms a timeline of the Microsoft Corporation. Need MS-DOS®? OS/2 1.31? Microsoft Mail? Office 95? Sure! Would you like that in English or in French?
Outlook 2000 imported .mmf, but its IMAP support was strange and occasionally dropped header data. Also, it couldn't talk to IMAP4 and Exchange servers at the same time. This was vexing, but not a showstopper. Import the .mmf files via Outlook 2000, upgrade to our retained license of Outlook 2003, and a few hours of drag and drop later: 15-year-old archives online and viewable anywhere. Similarly for .mbox, throw an mbox-compatible IMAP server onto a Linux machine and put the .mbox-format archives in its working directory. Then use the Outlook IMAP support to connect and copy folders over to the production server of choice.
The Amiga archives, on the other hand, required writing a small bundle of C code to convert the RFC-733 headers into RFC-822 format, ditch the old SysV-style message dividers, and retrieve the strange From: line data from the special hell in which it lived. This is the price for letting problems sit too long. But once done, Amiga­UUCP format became .mbox format. And thrown into the same working directory, the Outlook IMAP4 brought the mail right down, good as new. It even packaged up the attachments very nicely for us.
We now have archives back to 1990 online in one unified format, and we're looking around for more archives ... just because we can. Is that healthy?

R'ykandar Korra'ti, postmaster for a small co-op ISP, lives near Seattle with her partner, Anna. Having previously shipped mail products at Microsoft, she's writing technical articles when not working on deeply obscure mandolin song lyrics. Booking agents can reach her at darako@murkworks.net.

© 2008 Microsoft Corporation and CMP Media, LLC. All rights reserved; reproduction in part or in whole without permission is prohibited.
Page view tracker