Set Up Thunderbird Against Exchange 2007
Do not despair if your local IT managemend "blessed" you with the Exchange 2007 server (which of course turns out to be incompatible with any standard protocols) and refuses to turn on IMAP support.
Besides using Evolution with Exchange MAPI, which unfortunatelly is fairly unstable you can use DavMail.
DavMail is a Java based gateway creating a bridge between Exchange and standard email and calendar protocols.
DavMail supports Operating Systems which can run Java such as Linux, Mac OSX, Solaris and FreeBSD.
In this HowTo we will be using Linux distribution called Ubuntu.
Software used in this HowTo:
- Ubuntu karmic
- DavMail 3.6.2-904 
- Sun Java 6-16-0ubuntu1.9.04
- Mozilla Thunderbird 220.127.116.11 (version 3 will also work)
- Lightning-extension for Thunderbird
Install software needed to run DavMail:
# sudo apt-get install sun-java6-bin libswt-gtk-3.4-java libswt-gtk-3.4-jni
Go to http://davmail.sourceforge.net/ and download and install the Linux package.
For Debian/Ubuntu you install the .deb package as follows:
# sudo dpkg -i davmail_3.6.1-853-1_all.deb
The DavMail launcher should appear in the Applications -> Internet menu. Just click on it to configure it.
It will then stay hidden in your panel.
Pictures say more then 1000 words. So here's a screenshot of DavMail:
The only thing that had to be changed is OWA (Exchange) URL: which needs to be set to i.e.
Just press Save when you changed that setting.
Set up new account: Press
Edit -> Account Settings -> New Account
Here's a visual example:
Now you can just press on the Get Mail icon in the main menu and type in your password.
Install the Thunderbird Lightning extension.
# sudo apt-get install lightning-extension lightning-extension-locale-nb-no
- Press the Calendar icon on the bottom left in your Thunderbird.
- Right click on the white space in the Calendar pane.
- Chose New Calendar
- Chose On the Network
- Chose CalDAV as the Format and type in following location with your own username, i.e:
- Type in connection name, i.e. WORK, chose custom colour and your email address.
- In the next window, type in your username i.e. DOMAIN\username and your password.
Address Book Lookups
- Go to Edit -> Account Settings.
- Chose Composition and Addressing
- In the Addressing field chose Use a different LDAP server:
- Press Edit Directories
- Chose Add and edit the General tab so it looks similar to this:
- Go to Edit -> Preferenses
- Press on the Composition icon and then on the Addressing tab.
- Chose the name of your formely configured Directory Server, i.e. WORK.
That's all folks.
Stacks said ...
<comment date="2012-04-20T01:18:19Z" name="Stacks"> Very nice tutorial and reference! I spent a whole day running through online docs and nothing quite worked with the global address book / ldap settings... once I came across this information, it worked like a charm! Thanks for putting this out there man </comment>
Lisa said ...
<comment date="2012-09-11T18:22:40Z" name="Lisa"> I wasn't able to use port 1080 for Caldav under Windows XP (already in use by something else apparently). Just changing it to 1081 worked although I do wonder if I will unknowingly create other issues by doing so. Still though - thanks so much for this article. Outlook client at work was such a pain :P </comment>