Ever since Ubuntu 7.06 I’ve been using it on my companies corporate LAN and managed, after some digging around to get Evolution to connect to MS-Exchange server and manage all my mail, calendar and contacts. I am now using Ubuntu 8.04 and all was well until a couple of days ago, all of a sudden Evolution started crashing and even crashed X-server. Next thing I knew I could not get Evolution to connect to MS-Exchange at all it kept returning an error “Could not authenticate to server (password incorrect?)“. At first I put this down to a recent update for Evolution and did some digging around the forums, I found that many others had the same problem but there were no apparent solutions. I then read a few posts which suggested that Evolution did not work with Exchange server 2007, a quick check via web access to my mail and it certainly appeared that my company had updated from Exchange 2003 to 2007.
I had tried to use Thunderbird in the past but it connects to MS-Exchange server using IMAP and this was not available, so I was left with Evolution which connects using Outlook Web Access (OWA) and this was working fine…till now.
I tried everything with Evolution but eventually gave up, I did however discover an open source alternative in development called OpenChange which has an Evolution plug-in due for release in Gnome 2.24 so I might go back to this.
I thought it was a long shot to try Thunderbird again but if the Exchange server had been upgraded then perhaps IMAP connections were now possible, so here’s what I did.
In Thunderbird select File>New>Account (if it hasn’t already prompted you to do so) and select new Email account, fill in your name (I used my LAN user name here) and email address. Next select IMAP as the server type, you only have the choice of POP or IMAP anyway. That’s the basic account set up, now you have to configure the server settings etc. Click on the account name in the left pane then select view settings for this account in the right pane. This gives you a whole load of things you can configure for your mail account but first thing to do is select server settings. Here make sure your server name is correct, usually something like mail.company.com. Under security settings the guides I’d read previously recommended setting this to ‘Never‘ but this just didn’t work for me so I tried ‘TLS, if available‘ and bingo, it worked. All the other settings are up to you. You’ll also need to input the correct address for the outgoing SMTP server. In my case I got this by going back into MS-Outlook and in the mail account properties you’ll see the server name. Also in my case this requires a user name in the security and authentication section and again I chose ‘TLS, if available‘. That is the basics of the account set up now I had to select which folders on my Exchange account I wanted to view. I did this by right clicking on the account name in the left pane of Thunderbird and selecting ‘subscribe‘ all being well this should open up a window showing all the folders available, just check those you want and click OK. I now had access to my Exchange inbox, sent and deleted folders.
The next stage was to get the global address book connection. In Thunderbird click on Address book then select File>New>LDAP Directory. Then fill in the details, I called mine ‘global address list’ the host name is usually the server name where your global address book (gab) is located, again this can be found out by going back to Outlook in Windows and looking at the properties of the global address book. So for example if the address was gabserver.ad.company.com then put gabserver in the Hostname box. In the Base DN box the rest of the address is added in the following format dc=ad, dc=company, dc=com The Bind DN is your DOMAIN\username and the port number defaults to 389 but this did not work for me, on blog.indigio.com they suggest port 3268 which did work for me. You should now be able to search the global address book and you’ll be asked for your password. You should also set up the global address book in the auto complete section in Edit>Prefernces>Addressing check the Directory Server box and you should see the address book you created before in the list. This means that as soon as you start to type a name in an email address bar Thunderbird will search your global address book for possible matches to auto complete.
Because I’d been using Evolution for some time I’d backed up a lot of email locally (~8000) as we have mailbox limits here so now I needed to get those into Thunderbird. I thought I’d just have to import but it wasn’t quite that simple. Thunderbird needs a plugin called MboxImport to be able to import emails in the Mbox format. Once this is installed it’s fairly simple though, select Tools>Import/Export in Mbox/eml format then point to the local directory where Evolution stores your mail (usually Home/Name/.evolution/mail/local), that’s it.
But what about the calendar? I here you ask, good question and so far it has me stumped. Thunderbird has a good calendar available as an Add-on called Lightning but getting this to connect to the calendar on MS-Exchange is another matter and one I’m still struggling with. There is a solution posted at blog.indigio.com but this involves direct access to the mail server which I don’t have. I tried a few things like logging onto my mail through Firefox (OWA) right clicking on the link for the calendar looking at properties and using this address to set up a new calendar in Thunderbird. Click the Calendar icon in the bottom left then right click in the left pane and select New Calendar>On My Network>Next. There are three options ICS, CalDav and WCAP, none of which worked for me at all, but you may have more luck. I’ll keep looking and maybe I’ll find a solution or maybe if the Evolution plug-in is finished soon I may go back to Evolution. I have to say that given a choice I’d go for Thunderbird over Evolution but the fact is whichever one I can get to work with MS-Exchange is the one I’ll go for and for the time being that is Thunderbird, albeit without a calendar connection.
Click anywhere to cancel