Avatar

HOWTO: Configure Microsoft Exchange and Outlook Web Access for Thunderbird

PLEASE READ:

If you have a problem with the add-on, please contact the guys over at http://groups.google.com/group/thunderbird-webmail-extension They will be able to help you more than I can. They’re the developers of this add-on.

Microsoft has an amazing way of wasting my time. See Microsoft Atlas Cheats on Online Reach Prediction Research Paper and Wow, My Windows Vista Self-Destructed.

It took me a full hour to configure my Microsoft Exchange/OWA email account for Thunderbird and lucky for you I wrote a set of easy instructions for you to follow!

1) First download the WebMail Thunderbird add-on (ex. Web-Mail-x.x.x) which will help you connect your Thunderbird to your web-based email accounts (ex. Gmail)

Note: If you’re new to installing add-on’s for Thunderbird, simply right-click the link that leads to the add-on and select “Save Link As…” Then, go to Tools in Thunderbird followed by a visit to Add-Ons, then to Install on the bottom.

2) After installing it, you’ll need an add-on for the add-on. Sounds funny doesn’t it? You can download it here. There will be a list of add-on’s that you can choose from (there’s even one for Gmail), but for our purposes download and install the file that starts with ‘owa’. The installation should be the same as for any Thunderbird add-on. This time, you will need to restart your Thunderbird for the add-on’s to initiate.

3) We now need to configure the Webmail add-on’s add-on. Go to Tools -> Add-ons, select Webmail-OWA and click Options. Visit the Domains tab and click Add.

In the Domain field, enter whatever follows at the end of the @ symbol of your email address (ex. gmail.com)

In the URI field, enter the URI of the Outlook Web Access address (ex. http://www.yourwebsite.com/exchange or http://mail.yourwebsite.com)

4) Now you’re ready to start creating your account (Tools -> Account Settings -> Add Account) . When presented with the new window, select Webmail as the account type and set youremail@yourwebsite.com as the Incoming User Name. Hit Finish when you’re done.

5) Go back to the Webmail add-on’s add-on option screen (Tools -> Add-ons, select Webmail-OWA and click Options) and now access the Accounts tab. If you had set up everything correctly in the step above, you should see your recently created account. There are additional settings there that might need tinkering and depending on how your Microsoft Exchange was set up you might not need to change anything at all. If your account can’t connect to the server, then just come back and select some of the options. Unfortunately, trial-and-error is the only way here.

6) At this point, you should be able to read emails. In order to write emails, go to Account Settings again (Tools -> Account Setting) and click Outgoing Server (SMTP). On the top right-side, hit Add…

In the Description field: Enter the name that will describe this account. (ex. Gmail Account)

In the Server Name field: Enter ‘localhost’

Port should be set to the default of ’25′

Check the User name and password box, and type in your User Name in full (ex. youremail@yourwebsite.com)

Leave the rest alone and hit OK.

7) Last step! With the Account Settings window still open. Click on your Web Mail account and in the Outgoing Server (SMTP) drop-down, select the description name you provided in the step above and voila! You’re done!

A little bit complicated if you ask me, but it’s all worth it. You can now use Microsoft Exchange or your Outlook Web Access account on Thunderbird!

How’s that for my first tutorial?

Peter Kao

  • Zzzzzzzzzzzzz
    Great tutorial... unfortunately, the OWA extension doesn't work with Exchange 2007 (screen ripping fails due to new screens). :-( Hoping that extension gets an upgrade soon!
  • Angela
    This doesn't appear to work for me...Question: this is for my student email, we log in with our student number alone (ex. "9999xxxx") but the email address used to contact us would look like the student number followed by the address (ex. "9999xxxx@college.ca"). So which do I put and where? I think that's my problem. Thank you very much for any help
  • jar2007
    I have tried to get this to work, but I found that when I download the add-on for the add-on it said it needed more to function and wouldn't let me click options. Any help?
  • AC
    DavMail Gateway allows any email client to connect to a Microsoft Outlook server with Outlook Web Access (OWA).
  • Jonathan
    the only options in Thunderbird are pop or imap incoming mail server. there is no "Webmail" account type. are the add-ons broken in Thunderbird 3.0.4?
  • ettore
    It works after a few settings ...
    Well explained tutorial.
    Thank you very much for your help.
  • venkat
    i have two question -

    with this set up i couldnt subscribe to outlook folders?
    when i read an email in thunderbird it doesnt make it read in inbox and vice versa?

    i would appreciate if any one could help me fix this. thanks
  • brynjellis
    Brilliant post Peter! Thanks. I got it working finally after changing my username to use my username that I use when connecting via a browser (which is not in email address dotted and @ed format - just a simple domain username) and also change the server settings in Tbird to use the IP address of my OWA website instead of localhost.

    Fab! The only think I'm wondering now is if it's possible to get all my additional folders that I have under my inbox? At the moment it's only getting the new mail - is this because it's using POP3?

    Regards
    Bryn
  • Nat
    Hi, thanks for the how-to, but it doesn't work with Thunderbird 3.0. Any suggestions? Thanks! Nat
  • camino_palmero
    it works!!!!!!
    THANKS A LOT!!I'm so glad to **** owa!
  • Mosen
    Thank you ! You are awesome!
  • snaik
    Hi,

    just want to everyone to know, that Thunderbird does work wih MS Exchange Server 2003 through SecuRemote VPN-1 (keyFOB) hardware token.

    Configuration steps explained in Pete's Tutorial works great, but, this must be modified to include the following:

    You need to enter in server name box the name of your OWA Server (and not localhost which is default)

    Thunderbird is accessing the MS Exchange Server thru OWA just fine.

    Thanks to all for their comments.

    Satish Naik

  • Armen
    Hey, I cant even get incoming messages, when i try to get em a fail error: login failure ...username and password wrong.
    Help
  • m1lithium
    Awesome!
    Worked Perfectly on the first try!
    Thank You!
  • omvsj
    Wow! It took me 1 hour to understand how to configure TB-OWA to work with my University's server. After reading all the posts, dealing with the Negative vibes's thing and following Warren's post this is what I did:

    OWA Options:
    Accounts
    - Mode = Screen Ripper
    Domains:
    - Domain = university.edu
    - Uri = https://mail.university.edu/exchange/

    Tools > Account Settings > Server Settings:
    Server Name: localhost
    Username: myusername@university.edu

    It couldn't be easier (after understanding it, of course ;) )!

    THANKS A LOT!
  • Vili
    Hi, my situation is just a little more complicated. I have an exchange account that is name.surname@sub.domain.com
    To log in using Outlook is different, though, I should enter nsurname@sub.domain.com
    Nevertheless, when I use the web interface the link is https://domain/exchweb/bin/auth/owalogon.asp?url=https://domain/exchange&reason=0 (without using the sub.domain) and to log in I have to enter simply nsurname and my password.
    I have tried almost every possible combination but still no results. Can someone help me please ?
  • Name
    Re: the problems with the unzipped owa file not containing an .xpi file, try unzipping from the command line.
  • plnnightsky
    There is an important part missing. Where does one put password in to connect?

    Everything is working for me up to set 3. I confirmed the information is correct. When I go to set 5 account does not show up. I also have to use secure connection.

    I don't know what else to do
  • Scott
    Works for me!
    Thank you!
  • kreso
    Has anyone that had the problem of not been able to send attachments , solved the issue?
  • RadicalGnostic
    "Unable to connect to server; connection refused."
  • RadicalGnostic
    Can't read mail because connection to localhost is refused. Is it because I'm running a Linux box?
  • Warren
    It took me a little longer to figure my settings out than what was provided above so I'd like to share how I got mine working.
    As an IT administrator in my company I'd like to make it clear the difference between companyname and domainname, companyname is the name of the company ie www.companyname.com, domainname is the name we use to authenticate ourselves against active directory ie exchange server.
    I've had to modifiy my settings slightly once I got mine working outside of our domain to make it work inside our domain as the address to connect to OWA actually goes to our firewall interface... Whats the point of users accessing OWA from within the network since we all have outlook anyway. To get around this I've included the setup for that as well below.

    If I'm not inside the domain>

    OWA Options > Domains:
    Domain = companyname.com
    Uri = http://mail.companyname.com/owa

    Tools > Account Settings > Server Settings:
    Server Name: companyname.com
    Username: myusername

    If I'm inside the domain >

    OWA Options > Domains:
    Domain = companyname.com
    Uri = http://server.domainname.local/owa

    Tools > Account Settings > Server Settings
    Server Name = server.domainname.local
    Username = myusername
  • fabrizio
    Hello.
    I don't understand the "inside the domain" version
    May you explain URI "from inside"? I would to use Thunderbird at office.

    Domain = companyname.com is clear

    URI = http://server.domainname.local/owa is not clear.

    What have i to write? Are the words "server" and "local" for example?
    Our domainsname is like companyName_one or companyName_intra (ITmen use the same word (companyName) used in the URL www.companyName.it).
    Should i write http://server.companyName_one.local/owa or not?
    In this case, it does not work.

    Many thanks in advance
  • Hi Warren - thank you for explaining this distinction!
    Peter Kao
  • name
    change all the "localhost" stuff that he's talking about with the server that u wonna use
  • andriesmalan
    Will this work if imap,pop,smtp is disabled on your exchange server
  • andriesmalan
    Hi there I have issues connecting my email address is
    andries.malan@gijima.com but i logon to owa with
    astza\10011542 i also get the connection refused error message please help me set this up
  • guido
    Hello,

    I can not find that add-on file mentioned in step 1. who can help me with the exact name or location?

    thanx,

    Guido
  • carlitos
    Thanks for taking the time...

    I got it working...
    I wish open office would make an Outlook alternative
  • Brian
    Thanks for making this post. I've read through the comments but am still having trouble with configuring Thunderbird with my work's Exchange server.

    I enabled logging and pulled up the OWA log. Reading through it, I can see it's pulling up the OWA interface. At the end of the log there is this message:

    4:33:37 PM--commd.js - callback - status :200
    4:33:37 PM--HttpComms3.js - callback - checking for cookies
    4:33:37 PM--HttpComms3.js - callback - received cookies
    UserContext=835b6f114e354b43a202e729cc1bf85a; path=/
    4:33:37 PM--HttpComms3.js - callback - Checking for Bounce
    4:33:37 PM--HttpComms3.js - clear - START
    4:33:37 PM--HttpComms3.js - clear - END
    4:33:37 PM--nsOWA.js - loginOnloadHandler - START
    4:33:37 PM--OWA-SMTP-SR - loginOnloadHandler - szLocation :https://mail.lakewood.cc/owa/
    4:33:37 PM--nsOWA.js - loginOnloadHandler - status :200
    4:33:37 PM--nsOWA.js: loginHandler : Exception : ReferenceError.
    Error message: kOWABaseAlt is not defined
    186
    4:33:37 PM--nsOWA.js - serverComms - START
    4:33:37 PM--nsOWA.js - serverComms msg -ERR negative vibes from brianp@lakewood.cc
    4:33:37 PM--nsOWA.js - serverComms sent count: 45 msg length: 45
    4:33:37 PM--nsOWA.js - serverComms - END
    4:33:37 PM--HttpComms3.js - callback - END

    Any help would be appreciated.
  • Derek
    I get the "vibes" error. Tried everything without success.
  • Chris
    Thank you VERY much for writing this up. I've been looking for how to do this for a long time and finally had success when I followed your instructions. I appreciate the time and effort you put into it.
  • Rick
    Works ok, but...
    I cant send emails to more than 1 person.
    If i send an email to 5 people, no one gets the email, and i see the email in my sent folder...
  • Filipe
    Hi there.
    I manged to configure my account but, i'm not able to send any attachements in my emais. Anyone was able to configure that? please help.
  • Jo
    To make this work I needed to make some slight changes to the domain name I typed in to the Webmail - OWA options. When I log on to my webmail, in the box where it asks for username I usually need to put a domain, then a backslash, then my username, so: domain/username, but this domain isn't the same as the domain which is part of my email address. I found that I could only get Thunderbird to access my email if I changed the domain in the Webmail - OWA options to be the domain name that I use as part of my webmail log-on, then a dot, then the domain which is the part of my email address.
  • ZB
    Worked perfect first time, although I cannot send outgoing attachments. I receive them perfectly. Seems like that's just the way it works...if I need to attach I'll just log onto the web interface.

    Thank you very much for this tutorial!
  • Your name is your best investment.
    Better than anything else !
    Dr.David Black
    www.blackchiropractic.com.au
  • Thanks Peter!

    OK. I configured it, and it downloaded several old emails -- about 3 minutes into it I get this message: "mail server localhost responded negative vibes"; any advice?
  • Toddw
    I have the same problem as Patrick - got it to work just fine with a bit of fiddling but it just will not send attachments. Posted on the google site and got no replies - anyone else have this issue?
  • GARY ATKINSON
    i can't get it to work -do you know any support even for a price that can help?
  • Jeln
    Hey!!

    Tnx for this tutorial, it's been quite helpful but still it took me like two hours to manage my thunderbird to work perfectly:) For Others that may have problems with configuration: I took the same steps wich peter described on this page. It all goes well, until 3rd step. I tried writing my whole email but it somehow didn't work. Then I entered only my username for that mail and that helped. But there's still not over with the problems. In server name box wich Peter described you should enter localhost - you need to enter your own domain. example: john.smith@workgroup-office.com --- > you need to enter in server name box the following: workgroup-office.com. I did so and now it works perfectly. You must do the same in outgoing server name;)
    Peter tnx again;)
  • Ian
    My company uses domain/windows user e.g. CAMEL/jbloggs for the username and then the password. It seems that this plugin is only capable of sending the email address entered in thunderbird as the username and it wont recognise my domain slash username as a domain name in the OWA options (one assumes so it can regex from the email addresses in thunderbird) Is there anyway to actually send a username other than the email address?
  • StormClaws
    99.9% Perfect. Thanks a lot. Works perfect to me
  • Never mind about the htaccess comment... I just realized this old dialog box is just how OWA takes it's user/password.
  • This looks like it should work for me - but this company server has an .htaccess password on it: https://webmail.domainxyz.com/exchange/ . When I connect in a browser, a dialog pops up and I enter a user/pw before I can see my Outlook Webmail. Is there a place I can enter htaccess user/password in this Thunderbird Webmail / OWA add-on? Thanks!
  • Thanks a lot for that guide - had some trouble getting the settings correct for my OWA server but now it seems to be working (for incoming at least) I shall write up a guide with all the specifics for the rest of my University.
  • Patrick
    Great tutorial! Thanks!

    I have only one problem, when I sent an e-mail with an attachment, the e-mail wille be sent, but the recipient doesn't get the attachment.
    Please help?!?
  • justin
    same problem
  • Toddw
    I have the same problem - did you ever figure out how to make it work?
  • I'm sorry - the guys over at http://groups.google.com/group/thunderbird-webmail-extension will be able to help you more than I can. They're the developers of this add-on.
  • M
    Got this error message: "Vibes".

    Error Log from file "OWA Log - 11-20-219 -16-10-2008.txt":
    -------------
    ....
    11:20:56--commd.js - callback - status :200
    11:20:56--HttpComms3.js - callback - checking for cookies
    11:20:56--HttpComms3.js - callback - received cookies
    UserContext=1683369b309f493f8fa256c18fb0beee; path=/
    11:20:56--HttpComms3.js - callback - Checking for Bounce
    11:20:56--HttpComms3.js - clear - START
    11:20:56--HttpComms3.js - clear - END
    11:20:56--nsOWA.js - loginOnloadHandler - START
    11:20:56--OWA-SMTP-SR - loginOnloadHandler - szLocation :https://mail.WEBDOMAIN.ch/owa/
    11:20:56--nsOWA.js - loginOnloadHandler - status :200
    11:20:56--nsOWA.js: loginHandler : Exception : ReferenceError.
    Error message: kOWABaseAlt is not defined
    186
    11:20:56--nsOWA.js - serverComms - START
    11:20:56--nsOWA.js - serverComms msg -ERR negative vibes from office.WEBDOMAIN.ch\a.test@WEBDOMAIN.ch
    11:20:56--nsOWA.js - serverComms sent count: 76 msg length: 76
    11:20:56--nsOWA.js - serverComms - END
    11:20:56--HttpComms3.js - callback - END
    -------------
  • Mario
    Great tutorial :)
  • Alessandro
    May I post the WebMail log?? Maybe it could be usefull to help me
  • Alessandro
    Hi, I'm getting crazy with "negative vibes"... :(

    My email address is: name.surname@xxx.yy but when I login via web I have to insert xxxnet\name.surname (i.e. domain before the username is different by domain after @)

    I tried all the combination of "screen ripper/web dabv",

    How can I solve it?? Peter, please help me!!
    Thanks
    Alessandro
  • Steve
    Wow, works like a champ!!

    A tip for those that have problems:

    Under Webmail - OWA addin-options, make sure a domain is defined that matches your username@domain under Server Settings. If you log into outlook web without a domain as I do, make sure "Use domain..." is unchecked under Webmail - OWA options/Accounts/Login.
  • Eric
    I did the same as VCT but still got the same "negative vibes" message
  • Justin
    I tried the add on. It doesn't work. I get an error message that my mail server is an unsupported domain. Also, I can't get it to set up as IMAP, nor can I get the IMAP domain to show up checked under the domains tab.
  • Glad it worked for you VCT ^^

    Peter Kao
  • VCT
    Negatives vibes ??? It worked for me when I made some changes in the thunderbird configuration. So...
    Let say that my email at OWA is "myname@rst.uvwx.yy",
    (therefore the domain is "rst.uvwx.yy")
    and that my domain/user name for accessing OWA is "domain/username".

    In configuring Thunderbird, I used as username "domain/username@rst.uvwx.yy" which is a mix of my domain/username + the domain (and not my email adress).

    It worked fine therafter !

    Good luck guys !

    VCT
  • mareke
    Thx. This solve my problem.
  • VCT
    WOW !!! At last, something that works !!! Great job Peter.
    Thanks for the solution : I really appreciate - specially since it bypasses Micros... system (Outlk).
    Should publish your tip on thunderbird website / forum... know a lot of people that would appreciate too...

    Let's work free !

    VCT
  • Juergen
    I tried to use Evolution with the Exchange interface - and I gave up after the Evolution Backend crashed so often for me. You find my frustrating bug reports in Ubuntu Launchpad.

    This Thunderbird plug-in is definitely not ideal, but it works as described and it is stable. This is more important than an unstable Evolution where they live with this bug for almost 3 years.
  • Pat
    Well - as much as I hate to give up TBird, I tried Evolution with MAPI and got it to work just by running through the setup wizard. Glad to have it running but frustrating as hell considering how much time I spent trying to get it run in TBird.
  • Pat
    Thanks for the tip Peter - changing to port 1025 fixed that problem.

    Unfortunately, I'm now experiencing the same 'negative vibe' problem some of the others have reported. I'll update if find a fix - anybody made any headway on this issue yet?
  • The plugin should handle HTTPS fine...

    Change your ports to something else. Some operating systems block ports below 1024.
  • Pat
    Is the OWA plugin not compatible with HTTPS? My Webmail POP, SMTP and IMAP all show red circles (error) - using standard ports 110, 25, 143 respectively.

    When I try to retrieve mail i get a "Could not connect to server localhost; connection refused" error message.

    Any help would be greatly appreciated - thanks for this howto Peter - been trying to get this(exchange to tbird) to work for quite some time now.
  • Andreas Fischer
    Hi, i tried to access http://mail.datagroup.de but got "negative vibes" - same problem as Alan.
  • MC
    I have downloaded the OWA extension zip file. But when I go to unzip it, there is not an .xpi file, but only a .rdf file. this doesn't see to install into Thunderbird. I have been to the sites listed above, but can't seem to find the .xpi file. Help? (Same problem as Ben above).

    http://groups.google.com/group/thunderbird-webmail-extension/files
  • BEN: The add-on should still be in .xpi format. I'm not sure where you found that file.

    ROB/ALAN: Not sure why it isn't working for you guys... :(
  • Rob
    Great work! Although I get the same as Alan - it seems like the server doesn't like the password, for Thunderbird re-prompts to enter the password.

    I would be pumped if anyone has suggestions.
  • Ben Caswell
    When I downloaded the add on for Webmail and tried to install it (install.rdf) I got an error message "Not a valid install package" any help? (I am on a MacBook if that matters)
  • You're right. IMAP shouldn't matter.

    Double check the URI for the server settings. Some URI's are https:// only. Also, see if you need to include the NT domain before your username to login. Ex. "DOMAIN\username@mydomain".

    If both fails, I suggest posting your problem on their discussion board: http://groups.google.com/group/thunderbird-webmail-extension

    And to answer your question: Messages stay on the server. Messages also copy to the sent folder on the server too.
  • biscuits mcgee
    Sorry, last post. I am pretty sure IMAP support does not work with OWA with this plugin.

    The problem with that is, even if I get it working, I think it will take my messages off of mys erver and delete them, which is not what I want to do.

    Can you confirm?
  • biscuits mcgee
    Also, on the domain I added, I get a check for pop and smtp, but an x for imap with the web addon, even though the web addon says that server is running.

    Why is it giving me an X? This is under webmail/preferences/domains
  • biscuits mcgee
    I should enable imap? When I add a new account as webmail, it adds a new pop account for localhost. I need to do imap instead?

    How do i make the webmail add on do that?
  • alan
    still get "negative vibes". full message is "sending of message did not succeed. Mail server localhost responded: negative vibest from myaccount@mymail.com". I've checked the server settings etc, all seems ok.

    wish this could work! would save me lots of time and annoyance.
  • ALAN: Yes, your username should be your email address

    BISCUITS: Hmm...have you tried looking at the server settings for Webmail? Turn on all 3: POP, SMTP, IMAP and check the 'Enable at startup' boxes. Also make sure the port corresponds to that set for your Thunderbird account.
  • biscuits mcgee
    Should I be using webdav or scraper? If I use webdav, I get a
    HTTP/1.1 500 Internal Server Error-8">
    01:35:06 AM--commd.js - callback - status :500

    in the log

    if I use scraper, the log doesn't show any real errors other than the fact that it can't parse the page so its still not working.

    ff can do it fine. what to do?
  • Alan
    thanks, that worked. next problem is I get the error message "negative vibes from 'mymail@mail.com'".

    I tried changing all the options at the add-on, but still did not work.

    my username is different from my email address, could that have something to do with it?!
  • Alan: It's the file that's required. Should be called something like Web-Mail-x.x.x. Other files are plugins for the plugin ;)
  • alan
    exactly which file are you referring to in 1)? I tried the link and got confused.
  • jar2007
    Hi guys.

    How do you unzip the owa-0-7-0a36.zip file. I feel like I know how to do it, but the file just goes to my downloads folder. Can anybody help?

    JR
  • mukin
    looks like owa-0-7-0a36.zip is not there anymore :-(
blog comments powered by Disqus

My Favorite Sites

May these links be a guide to web enlightenment. Schwing!

  • Trendwatching