On Tue, 2019-07-02 at 14:07 +0200, Milan Crha via evolution-list wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > On Tue, 2019-07-02 at 11:16 +0000, Joakim Tjernlund wrote: > > Does this <Action>redirectAddr</Action> address make sense > > to Evolution? > > Hi, > no, evolution-ews doesn't know about it. It would work fine if a > standard redirect response had been made by the server, the one through > the HTTP response code and such. It seems it might not be possible in > this case, as it changes the user name too. The RedirectAddr element > does that at least, according to [1]. And this [2] link shows what the > Action values can be.
Right, seems this RedirectAddr is something new one have to deal with. > > You can rerun your script with > autodiscover.infinera.mail.onmicrosoft.com > host name and user as returned by the server, which should give you the > desired settings. You can copy the ASUrl content into the Host URL and > the OABUrl content into the OAB URL in Evolution, if they are present. > You can get multiple addresses for each, some may work only from the > company network, some can be accessible also from the public addresses. Yes, I can make autodisovery work by injecting onmicrosoft and https://outlook.office365.com/EWS/.... in the right paces but that is really tedious > > On Tue, 2019-07-02 at 11:30 +0000, Joakim Tjernlund wrote: > > futhermore I notice that > > - plain http requests are just redirected to https > > - I never get an user/passwd prompt when I do fetch URL in Evo > > It looks like the credentials had been read from the libsecret/gnome- > keyring. I see a request for "SoupMessage 1 (0x7fd8c86c1e50)", but not > its response (after the 401 response, which means that the server asked > for the credentials). It looks like you didn't receive the > "redirectAddr" within evolution-ews for some reason, or you didn't wait > long enough to have it included in the log. The next time, try to not > expose the whole log, remove the private information and the > information you cannot decipher (like the encoded bits). If I change Auth to Basic I get prompted for my creds. > This looks like a very specific case, but if you are willing to help to > test any changes, then feel free to open a new bug against evolution-ews > at [3] and we can follow there. Will do > Thanks and bye, > Milan > > [1] > https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fclient-developer%2Fweb-service-reference%2Fredirectaddr-pox&data=02%7C01%7Cjoakim.tjernlund%40infinera.com%7C607c081c9ab94ab7bc0208d6fee58651%7C285643de5f5b4b03a1530ae2dc8aaf77%7C1%7C0%7C636976659084606933&sdata=GSW1SJzjreBlEPyak5RZuiGzYQSleTgAzLKzSJOek%2FU%3D&reserved=0 > [2] > https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fclient-developer%2Fweb-service-reference%2Faction-pox&data=02%7C01%7Cjoakim.tjernlund%40infinera.com%7C607c081c9ab94ab7bc0208d6fee58651%7C285643de5f5b4b03a1530ae2dc8aaf77%7C1%7C0%7C636976659084606933&sdata=gqd3jyEB7%2FjE%2BXe2nG4jxbmCHoKvIzsNiFbBOYTvkEc%3D&reserved=0 > [3] > https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.gnome.org%2FGNOME%2Fevolution-ews%2Fissues%2Fnew&data=02%7C01%7Cjoakim.tjernlund%40infinera.com%7C607c081c9ab94ab7bc0208d6fee58651%7C285643de5f5b4b03a1530ae2dc8aaf77%7C1%7C0%7C636976659084606933&sdata=MIPKEYecOOV6zcsvWUEkKHes4q%2FHvnKZ0vHs8jfEMQE%3D&reserved=0 > > _______________________________________________ > evolution-list mailing list > evolution-list@gnome.org > To change your list options or unsubscribe, visit ... > https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.gnome.org%2Fmailman%2Flistinfo%2Fevolution-list&data=02%7C01%7Cjoakim.tjernlund%40infinera.com%7C607c081c9ab94ab7bc0208d6fee58651%7C285643de5f5b4b03a1530ae2dc8aaf77%7C1%7C0%7C636976659084606933&sdata=J%2FVnMq6h9EYcGIPP1iz4M3qH8QT%2FbYC%2FfE%2BBPCpHBpc%3D&reserved=0 _______________________________________________ evolution-list mailing list evolution-list@gnome.org To change your list options or unsubscribe, visit ... https://mail.gnome.org/mailman/listinfo/evolution-list