Re: mbsync with XOAUTH2 SASL mechanism

2023-01-26 Thread Timo Wilken
Hi Giovanni! On 26 January 2023 11:19:22 CET, Giovanni Biscuolo wrote: >Timo Wilken writes: >> Instead, I ended up "borrowing" Thunderbird's client key and secret, >> which has worked fine so far. > >thanks for sharing this trick! > >this adds a big dependency in our software stack, but it

Re: mbsync with XOAUTH2 SASL mechanism

2023-01-26 Thread Giovanni Biscuolo
Hi Timo, Timo Wilken writes: [...] > Instead, I ended up "borrowing" Thunderbird's client key and secret, > which has worked fine so far. > > Maybe I'm being a bit paranoid, but I don't want to post the literal > key here. You can copy it from mailnews/base/src/OAuth2Providers.jsm > in

Re: mbsync with XOAUTH2 SASL mechanism

2023-01-26 Thread Giovanni Biscuolo
Hi, Giovanni Biscuolo writes: [...] > This howto is for getmail 5.6 but AFAIU should also work for getmail6 > (it's mentioned in the official getmail6 documentation [1]) I forgot to mention the howto! https://www.bytereef.org/howto/oauth2/getmail.html it contains detailed instructions on

Re: mbsync with XOAUTH2 SASL mechanism

2023-01-25 Thread Timo Wilken
Hi Peter, hi Giovanni, I had the same problem with having to register an "app" to access my emails (but with neomutt, not Emacs). Instead, I ended up "borrowing" Thunderbird's client key and secret, which has worked fine so far. Maybe I'm being a bit paranoid, but I don't want to post the

Re: mbsync with XOAUTH2 SASL mechanism

2023-01-24 Thread Peter Polidoro
Giovanni Biscuolo writes: have you solved your problem? No, I hate to admit that I have given up in frustration. My work email unfortunately uses office365. I work for a large nonprofit science foundation. I wish they only used free software, but some of the enterprise software is

Re: mbsync with XOAUTH2 SASL mechanism

2023-01-24 Thread Giovanni Biscuolo
Hello Peter, have you solved your problem? I never tested this, but I'll have to do... Peter Polidoro writes: > I am trying to setup an oauth2 email account to work with Emacs > using mbsync (from the isync guix package) and mu4e. [...] > What is the proper Guix way of getting mbsync to

Re: mbsync with XOAUTH2 SASL mechanism

2022-11-15 Thread jbranso
November 14, 2022 6:09 PM, "Tobias Geerinckx-Rice" wrote: > Joshua Branson 写道: > >> really really lazy (insecure) way via ~/.authinfo. > > I'll keep this tangent short: > > ~ λ file .authinfo.gpg > .authinfo.gpg: data > > (There is no step 2.) hahaha! what up friend? My problem with that

Re: mbsync with XOAUTH2 SASL mechanism

2022-11-13 Thread Peter Polidoro
> Man this sounds complicated! haha. I use isync too...but I do the > really really lazy (insecure) way via ~/.authinfo. > > Joshua I wish I did not have to have such a complicated setup. My work email account has just stopped allowing basic password authentication, however, so I can no

Re: mbsync with XOAUTH2 SASL mechanism

2022-11-13 Thread Joshua Branson
Peter Polidoro writes: > I am trying to setup an oauth2 email account to work with Emacs using mbsync > (from the isync guix package) and mu4e. > > I setup oauth2ms to fetch the token and setup mbsync to use oauth2ms for the > PassCmd and XOAUTH2 for the AuthMechs. > > Now when I run mbsync, I