Industry


Ads by TechWords

See your link here


Hotmail does work--badly--with Linux

Linux-Watch has reported that at least one Linux user was unable to use the newly redesigned Windows Live Hotmail. Other Linux desktop users have also reported problems with the new Hotmail.

However, a closer look reveals that the problem isn't with Linux and Hotmail's interoperability, but with how Hotmail handles browsers with user-agent settings that it doesn't recognize. The user-agent string is sent by your browser to the Web server hosting the site you're visiting. This character string, at the least, identifies your Web browser to the server. It usually also contains optional details, which are called tokens. These typically include your operating system, language, and hardware. For example, my user string at my main desktop is:

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.3) Gecko/2008091700 SUSE/3.0.3-1.1 Firefox/3.0.3

That tells the Web server that I'm using a Mozilla 5.0 compatible Web browser, on a PC with X11 windowing running on a 64-bit SUSE Linux system using the Gecko Web rendering engine and the Firefox 3.03 Web browser.

You can see what your browser is reporting to servers by visiting the, What is my User Agent Web site. Notice I didn't say 'what your browser actually is,' I said. 'what it's reporting itself to be to servers.' It's a big difference and that's where the fix for the Hotmail problem comes from.

You see the user who ran into trouble was running IceWeasel. This is a version of Firefox that's used by Debian Linux users. To make a long story short, Debian users objected to Mozilla's Firefox image trademarks so they cloned Firefox into IceWeasel. Unfortunately, for IceWeasel users, Hotmail doesn't know how to handle a browser that identifies itself as IceWeasel and bungles it.

This is not an uncommon problem, and it's not just limited to IceWeasel. Other Web sites blow up when presented with a browser user-agent string it doesn't know. It is, on the other hand, a pretty stupid mistake for a Web server programmer to make.

For example, a user-agent string for the first version of IceWeasel looks like:

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061205 Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-2)

Notice that the very first thing that the user agent includes? Any Web site should be able to handle a Web browser that identifies itself as a Mozilla-compatible Web browser. Heck, Microsoft's own Internet Explorer 7 identifies itself as a Mozilla-compatible Web browser!

Be that as it may, if you want to use Hotmail you have to convince it that you're running a browser that Hotmail recognizes. The IceWeasel developers recommend that you use the Firefox add-on, User Agent Switcher. IceWeasel's crew recommends you follow these instructions, so that your browser will now look like a copy of Firefox running on Windows XP for maximum compatibility with broken sites.

I tested it myself with a late beta of Debian 5 and it did indeed let me use Hotmail. Once there, however, I wondered why I had bothered. I found the new Hotmail interface to be clumsy and slow.

At first I thought it was just me and my slow test system, but then I discovered that many users hate the revised Hotmail interface. Microsoft has said that it's determined to stay the course, but most Hotmail users want their old interface back and they want it back now.

So, there you have it. You can use Hotmail with Linux, but whether you really want to use it is an entirely different question. As for me, I only keep an account around for test purposes. I use Evolution for all my e-mail purposes and Gmail when I'm away from my own computers and I have to use a Web-browser based e-mail system.

What People Are Saying

The easyest way

First of nothing, sorry for my bad english.

To whome is having this kind of problems, I reccomend to go to your Iceweasel, and go to:

about:config

For the newbies: you have to write that in the adrees bar.

Search for the line:
general.useragent.extra.firefox

And change the actual value, that might be:
Iceweasel/2.0.0.17

For:
Firefox/2.0

From now on, hotmail will run OK in the Iceweasel,.. anyway, I recommend to use other "more legal" e-mail accounts, like gmail,...

it works

i have test it on Debian Linux and it works fine.

HOTMAIL??

People still use that??? I tried them in the last century and got very tired very fast of the banners/popups/other dreck.

Geeze, folks, get gmail. POP access through Evolution or T-Bird is the way to go, although the web interface works flawlessly with FF on Ubuntu.

I think Opera latest browser

I think Opera latest browser on Linux supports hotmail very well. Try it.

A distraction. Hotmail is still broken.

The trademark issue is a distraction. The error persists even if you change IceWeasel to Firefox. The problem is, Hotmail is filtering out Linux. If you implement the fix, you're telling the world that you're using Windows. If you have to lie and kludge to use a service, the bug is in the service, not your web browser.

It also has another consequence. If you do that, then "browsing statistics" will show that Linux usage is dropping, so there's no need to support Linux. And if you're on Windows, then dropping Firefox support and taking advantage of IE-specific features is a real option. So we don't want people to just put up with the kludge. We want people to complain, or at least move to a webmail that allows you to be honest about your OS and your browser.

Aimed at Netbooks

This is aimed squarely at Netbooks running Linux.

Yes, I know Linux Netbooks are not a big market yet, but Microsoft wants people who do buy a Linux based Netbook to feel that Linux is not the way. That things just don't work as well.

MS does not even have to have that many people affected. The publicity, like this article, will pave the way for them.

This is just one point in a thousand points of FUD. Microsoft's standard operational procedure against Linux is fear, uncertainty, and doubt (aka, FUD).

about:config

I've found that on my Fedora box it pretends to be Fedora. In firefox open about:config and do a filter for Fedora, you'll find:

general.useragent.vendor

This is normally listed as Fedora, I changed mine to Firefox and Hotmail worked fine again.

AJAX toolkit

I'll make a guess that it isn't Microsoft attempting to be evil (which is the assumption many jump to in situations like this). I'll guess it's all about the underlying AJAX toolkit they are using-- they need to know the browser in order to deploy the browser specific AJAX packages.

And why should it matter, anyways?

Why would a web-mail server even care which particular, W3C-standards compliant browser is accessing that server?

Yes, I understand that info about which version of MS Internet Explorer is attempting to access a web-mail service might be useful or even necessary (but then, although IE is probably the only W3C-standards NON-compliant browser in common use, it *is* still prevalent enough to require special that handling be implemented to work around its "quirks").

Aside perhaps from some console, text-mode web-browsers that lack support for standard java-script, it should be totally irrelevant -- and I'm not even sure if *any* major web-mail service works without java-script enabled. But that's a different issue, anyways.

Use Opera

I have no problem using Hotmail with Opera on Linux.