#71 Add support for EWS Autodiscover redirection

closed-fixed
None
Protocol/Other
5
2014-08-20
2013-12-06
No

EWS autodiscover can respond with an "error" that contains redirection information for email address. Link to specification.

Example POX (plain old XML) response extracted from a debug log:

<?xml version="1.0" encoding="utf-8"?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
  <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
    <Account>
      <Action>redirectAddr</Action>
      <RedirectAddr>jduser@does.not.exist.net</RedirectAddr>
    </Account>
  </Response>
</Autodiscover>

Discussion

  • Stefan Becker

    Stefan Becker - 2014-01-04

    With git commit 7b8776d SIPE supports RedirectAddr. It would be nice to get some feedback from users if this works for them.

     
  • Stefan Becker

    Stefan Becker - 2014-01-05

    With git commit d0c9098 SIPE supports RedirectUrl.

    The feature implementation should be complete now. Will close after positive feedback from affected users.

     
  • Eric Pullen

    Eric Pullen - 2014-01-05

    Just tested against Adium 1.7HG and my list is now populating correctly.

     
    Last edit: Eric Pullen 2014-01-05
    • Stefan Becker

      Stefan Becker - 2014-01-05

      Thanks for confirming that the new code works for you. I can close this feature request and start on the 1.18.0 release.

      About the crash: to be honest, it looks like a bug in Adium and is not related to the issue at hand. But I'm not surprised that you see crashes, because AFAIK 1.7.x is pre-alpha. Please switch to the 1.5.9 release or the 1.5.10 HG branch.

       
  • Eric Pullen

    Eric Pullen - 2014-01-05

    I just re-tested against 1.5.9 and the search feature did not crash, but it also did not produce any results for any search. I'll post that as a new ticket since it really isn't related to this.

     
  • Stefan Becker

    Stefan Becker - 2014-01-06
    • status: open --> closed-fixed
     
  • Bob

    Bob - 2014-01-09

    Redirect works for me as well. Same issue with the search though.

     
    • Stefan Becker

      Stefan Becker - 2014-01-09

      Please remember that subtext search does not work for Lync, i.e. "First name = Mich" will give you no results, "Michael" on the other hand does.

       
  • Bob

    Bob - 2014-01-14

    I'll file a bug on this. It works with Pidgin, but not Adium (doesn't matter what I search for using Adium).

     
    • Stefan Becker

      Stefan Becker - 2014-01-16

      I have verified the problem on the Mac at work.

      We have discovered an area where Adium is not 100% compatible to Pidgin/libpurple. Adium returns empty strings instead of NULL for empty search fields. Those are forwarded to the XML request and then are rejected as illegal parameters by the server.

      git commit f576b07 adds a work around to the purple backend. I don't have access to the Mac right now, but I'm pretty certain this will fix the problem.

       

Log in to post a comment.