<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Dear offlineimap team.<div><br></div><div>I have just posted a question on stack overflow that is more of an opportunity to evolve the tool than a question per se. I hope someone gets interested in it.</div><div><br></div><div>Thank you very much for the wonderful tool! Here it goes:</div><div><br></div><div><a href="https://unix.stackexchange.com/q/630277/375983">https://unix.stackexchange.com/q/630277/375983</a></div><div><br></div><div><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; word-wrap: break-word; clear: both; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: -apple-system-font; font-size: 13.5px;">How can we use offlineimap to sync our corporate email account that sits on outlook.office365.com, when its authentication asks for a two-factor authentication (2FA) that is a Symantec VIP Access one?</p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; word-wrap: break-word; clear: both; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: -apple-system-font; font-size: 13.5px;">I guess we could open a valid session by authenticating in firefox, and then offlineimap could use the token that is stored in firefox cookie. Does it make sense? I guess this would need some upgrading in offlineimap, and we could re-do something from another python project that makes use of session tokens from firefox cookies. Do you remember any?</p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; word-wrap: break-word; clear: both; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: -apple-system-font; font-size: 13.5px;">Does these code snippets help?</p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; word-wrap: break-word; clear: both; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: -apple-system-font; font-size: 13.5px;"><a href="https://github.com/hile/jsontester/blob/99f71b0003954c1ca2cf0cb37a55f9398eac55b5/jsontester/cookies.py" rel="nofollow noreferrer" style="margin: 0px; padding: 0px; border: 0px; text-decoration: none; color: rgb(0, 119, 204);">https://github.com/hile/jsontester/blob/99f71b0003954c1ca2cf0cb37a55f9398eac55b5/jsontester/cookies.py</a></p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; word-wrap: break-word; clear: both; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: -apple-system-font; font-size: 13.5px;"><a href="https://stackoverflow.com/questions/49502254/how-to-import-firefox-cookies-to-python-requests" style="margin: 0px; padding: 0px; border: 0px; text-decoration: none; color: rgb(0, 119, 204);">https://stackoverflow.com/questions/49502254/how-to-import-firefox-cookies-to-python-requests</a></p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; word-wrap: break-word; clear: both; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: -apple-system-font; font-size: 13.5px;"><a href="https://gist.github.com/denis-bz/88611952815b56b5b8b5" rel="nofollow noreferrer" style="margin: 0px; padding: 0px; border: 0px; text-decoration: none; color: rgb(0, 119, 204);">https://gist.github.com/denis-bz/88611952815b56b5b8b5</a></p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; word-wrap: break-word; clear: both; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: -apple-system-font; font-size: 13.5px;">Thank you very much in advance for contributions on this challenge.</p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; word-wrap: break-word; clear: both; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: -apple-system-font; font-size: 13.5px;">Kind regards,</p><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; word-wrap: break-word; clear: both; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: -apple-system-font; font-size: 13.5px;">Bruno Schroeder</p></div><div><br></div><div><br></div></body></html>