Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
Running window XP Office 2007 pro with Thunderbird 5- Davmail( v3.9.3)
This works provided the PC is on intranet ( using thunderbird/lightning davmail localhost running pop /smtp/ calendar )
but i have not found information on how to set DavMail to connect to the exchange server when the PC is on internet (local ISIP) without VPN. ( with VPN or equivalent there is no issue)
It seems that davmail does provide some option that will do it outside corporate network encryption tab but the davmail option do not map obviously to me with the setup I see for "outlook anywhere"
here are the "outlook anywhere" proxy settings
myaccount dbl click
connection /connect to ms exchange using HTTP (check)
use this url to connect to my proxy server for exchange
connect using SSL only (check)
only connect to proxy servers that have this principal name (check)
proxy authentication settings: NTLM
the link to MS showing
Outlook anywhere uses MAPI RPC over HTTPS to access company LAN through the firewall.
DavMail does not use MAPI at all but relies on WebDav (Exchange 2003/2007) or EWS (Exchange 2007/2010) to access Exchange. This means you need direct access over HTTPS to either the OWA WebDav url (/email@example.com) or EWS (/ews/exchange.asmx) to access Exchange with DavMail.
First of all many thanks for a quick answer ( 'outlook anywhere' setup is irrelevant)
last night over my local ISIP ( home) i did have access to the exchange web outlook interface using
my current configuration of davmail (works on intranet ) is
use system proxy settings (check)
proxy user 'username"
I tried also "firstname.lastname@example.org"
"Authentication fails with the following message: Authentication failed: invalid user or password, retry with domain\user"
Enable EWS (check)
note that when connected on "intranet" the link https://webmail.company.com/ews/exchange.asmx
does not return the web oulook interface but display
wich display an XML file that seems to be some default configuration files
( would that be some misconfiguration on server ? )
<?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:s="http://www.w3.org/2001/XMLSchema" targetNamespace="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
…there is a lot more similar XML
Ok, then you need access to:
from home to make DavMail work without VPN
Indeed the server for mobile access ( window mobile, ipad etc) over the internet is a different one from Intranet and i needed to request access to it ( done and granted)
I can now connect from my home ISIP via davmail using the https://MOBILE.mycie.com/ews/exchange.asmx with domain NAME \USERNAME
but the calendar /TB lightning gives an error ( on intranet it works fine on server https://webmail.mycie.com/owa/ )
although I do have simple workaround ( and therefore a solution is not urgent) I'm curious about the setting required
whether on server or davmail to make it all works smoothly.
I notice in the log file the following WARN and ERROR
I do not put the complete log file here but here are the main symptom once davmail connect to the EWS servers
2011-08-06 07:22:24,407 DEBUG davmail.http.DavGatewayHttpClientFacade - getProxyForURI(https://MOBILE.MyCie.com/ews/exchange.asmx)
2011-08-06 07:22:24,407 DEBUG davmail.http.DavGatewayHttpClientFacade - got system proxies:
2011-08-06 07:22:27,235 DEBUG davmail - executeFollowRedirects(https://MOBILE.MyCie.com/ews/exchange.asmx)
2011-08-06 07:22:28,923 DEBUG davmail - executeFollowRedirects: /ews/Services.wsdl redirectCount:1
2011-08-06 07:21:56,142 WARN davmail.http.DavGatewayHttpClientFacade - GET failed with status 403 at /owa/?ae=Options&t=About
2011-08-06 07:21:56,142 ERROR davmail.exchange.ExchangeSession - Error parsing options page at /owa/
and later davmail log return the debug message which start with
2011-08-06 07:22:51,407 DEBUG davmail.exchange.ews.EWSMethod - The request failed schema validation: The element 'http://schemas.microsoft.com/exchange/services/2006/types:FolderId' cannot contain child element 'http://schemas.microsoft.com/exchange/services/2006/types:Mailbox' because the parent element's content model is empty.
The first error happens because /owa path is not available on this server (DavMail tries to retrieve current user email address through OWA as there is no way to do this over EWS).
The second one is not normal, I would need the full XML request to investigate further
Jeff E Mandel
I work in a top 10 hospital with a paranoid and ignorant IT division. I use davmail to access my email, as they block access from outside the firewall. Lat week, they seem to have migrated to Exchange server 2010, and my access from outside the firewall died. I can't ask questions, as it will arouse suspicion.
When I access the OWA site, it redirects me to a site of the form:
I've experimented with variants of the URL, but nothing seems to work. I've tried the suggestions above, and I'm fairly resourceful, but I'm running out of ideas.
as best I can tell the uniquesig value is stable.
Can you access https://mail.bigheartlesshospital.com/ews/exchange.asmx ?
Jeff E Mandel
I gave up on this, but have come back for another round. It appears that the problem is caused by Microsoft Forefront Unified Access Gateway, which is what is generating the uniquesig header, which still is the same as the one in the previous post. EWS is not involved. Any suggestions on how to troubleshoot this?
EWS is indeed involved between DavMail and Exchange 2010: If it's not available DavMail will not work at all.