Request for Help with mbsync and XOAUTH2 for Office365

This page summarizes the projects mentioned and recommended in the original post on /r/commandline

Our great sponsors
  • Mergify - Updating dependencies is time-consuming.
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Sonar - Write Clean Python Code. Always.
  • cyrus-sasl-xoauth2

    XOAUTH2 mechanism plugin for cyrus-sasl

    Unfortunate things 2: it seems that even once you have cyrus-sasl installed, there might not be a standard, widely-distributed XOAUTH2 plugin. The one I found referenced the most often and ended up installing myself was here. It took me a lot of fiddling with the file to get it to install the plugin to /usr/local/lib instead of /usr/lib, because, again, Apple does not want me to do things the default Linux way, because of reasons.

  • oauth2ms

    @harishkrupo has posted over on r/emacs and helpfully described in even more detail on github the steps to follow to get mbsync working with office365 and has written a python script that handles getting the token from the identity server and putting it into a format that mbsync can use. Crucially, he explains how to set up the azure app that the token is generated for. Really, this guide made a lot of things clear that I had been absolutely muddling through previously.

  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts