#574 DavMail serves empty email when Exchange errors

v4.4.1
open
nobody
None
5
2014-07-21
2014-06-26
Dean Reilly
No

Every so often (seems to be roughly 1% of the time) DavMail will serve me a blank email. If I try to rerequest the same email a little while later it works fine. I've attached a portion of my log file which relates to this happening.

The relevant line seems to be:

2014-06-25 22:53:46,404 DEBUG [ImapConnection-53490] httpclient.wire.content - << "The custom error module does not recognize this error."

Searching around this seems to be a fairly common issue with OWA2010 and also a transient one (which would explain why I'm later able to request the email successfully):

http://windowsninja.com/2012/07/13/exchange-2010-outlook-web-access-error/

I realise that this is an issue with my company's mail server but it also seems to be something that DavMail should recognise and react to also (rather than just returning a blank email).

On a hunch I've switched from using Dav to EWS as the protocol and have not yet been able to recreate this issue.

1 Attachments

Discussion

  • As the issue seems to be with OWA, you may want to try direct EWS access:
    use /ews/exchange.asmx instead of /owa in DavMail settings

     
  • Dean Reilly
    Dean Reilly
    2014-07-01

    Hi Mickael,

    I have been doing that for the last week and it did solve the problem. Unfortunately my company have disabled EWS access today so that is no longer an option.

    Do you think it will be possible to patch the dav handler to deal with this scenario?

    Cheers,
    Dean