Mutt with OAuth2 configuration
For instance this works for outlook.com accounts and also for ethz.ch accounts which are already in “Exchange Online”. Prerequisites Install GnuPG OAuth works with secret tokens and these need to be encripted with GnuPG; install it as follow: # Fedora Linux sudo dnf install gnupg2 # Ubuntu Linux sudo apt-get install gnupg # macOS with MacPorts sudo port install gnupg2 # macOS with Homebrew sudo brew install gnupg Generate a key pair gpg --full-generate-key Please select what kind of key you want: (9) ECC (sign and encrypt) *default* your selection? <--------------------------------------- ENTER Please select which elliptic curve you want: (1) Curve 25519 *default* Your selection? <--------------------------------------- ENTER Please specify how long the key should be valid. 0 = key does not expire Key is valid for? (0) <--------------------------------- ENTER Key does not expire at all Is this correct? (y/N) y <------------------------------ y + ENTER GnuPG needs to construct a user ID to identify your key. Real name: Michele Marcionelli <------------------------ Your name + ENTER Email address: mima-test@ethz.ch <---------------------- Your email + ENTER Comment: <---------------------------------------------- ENTER Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? <--- O + ENTER Enter a passphare to protect you new key: ********* <--- Password + ENTER (twice) IMPORTANT: do not forget this password; you are going to use it every time that you start mutt! ...
