Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DavMail + Office365

Tags:

Does anyone know what Exchange OWA URL I should use for connecting to Office 365 via DavMail? Tried:

https://portal.microsoftonline.com/ https://pod51013.outlook.com/ews/exchange.asmx https://pod51013.outlook.com/owa/ 

Many thanks

like image 266
Glen Avatar asked Jul 23 '11 14:07

Glen


People also ask

How do you test for DavMail?

To check this, try to connect to https://mail.company.com/ews/exchange.asmx in your favorite web browser: you should get an authentication popup. On authentication success, you should get the EWS wsdl definition. If you don't, please contact the Exchange administrators to let them fix the broken Exchange server setup.

Is DavMail free?

The free online introductory courses and a robust developer community allow you to get started quickly. Try For FREE Today!

How do I use DavMail in Thunderbird?

Open Thunderbird address book and choose File/New/LDAP Directory: Choose a name, host is DavMail host (usually localhost), LDAP base context ou=people, adjust port to your settings and set user to your Exchange account name, either your email address or Active Directory account name, i.e. domain\account.


2 Answers

https://outlook.office365.com/EWS/Exchange.asmx is working for me after a frustrating few hours.

DavMail 4.7.2-2427, with "Exchange protocol" set to EWS.

A "/owa/" URL was in place up until I was forced to change my domain password yesterday. (We've got our domain server up in Azure and integrated with our 365 AD and get redirected to our own ADFS for authentication.... or something.)

Using the /owa/ url I was getting a "554 Authenticated failed All network interfaces down or host unreachable !" error out of DavMail which seemed to have been the result of the underlying Apache HTTP classes not liking the web-page it was getting back. ("Unrecognized cookie attribute: name=HttpOnly, value=null")

like image 147
mwardm Avatar answered Oct 05 '22 23:10

mwardm


Go to mail.office365.com and you should be redirected to a [host].outlook.com/owa/ address. Use that as your OWA URL in DavMail and also be sure that "Enable EWS" is selected in the Advanced tab of DavMail settings. Use your full OWA domain as your username to log in (i.e. [email protected]) and you should be in there like a dirty shirt.

like image 29
tristano Avatar answered Oct 06 '22 00:10

tristano