Strange error but synching anyway with gmail
Rainer M Krug
r.m.krug at gmail.com
Thu Sep 22 16:49:00 BST 2016
Le jeudi 22 septembre 2016, Nicolas Sebrecht <nicolas.s-dev at laposte.net> a
écrit :
> On Thu, Sep 22, 2016 at 09:18:14AM +0200, Rainer M Krug wrote:
>
> > OK - I added
> >
> > ,----
> > | auth_mechanisms = GSSAPI, CRAM-MD5, PLAIN, LOGIN
> > `----
> >
> > to the
> >
> > ,----
> > | [Repository RemoteRMKrugGMAIL]
> > `----
> >
> > section and the error message is gone.
>
> Roger that. We have a problem.
>
> The XOAUTH2 authentication should not be tried if no XOAUTH2
> configuration option is set.
>
> Could you please try v7.0.7?
>
>
Thanks - Will do so tomorrow as I am upgrading at the moment.
> But I would like to try OATH2.
> >
> > Now I would like to enable XOAUTH2 and I have all the clientid and
> > secret. But what is the "accountname" in
> >
> > ,----
> > | oauth2_client_id_eval = get_client_id("accountname")
> > | oauth2_client_secret_eval = get_client_secret("accountname")
> > `----
> >
> > I tried my gmail address and the name of the project, but I still get
> > the same error message?
>
> The *_eval configuration options are the evaluable option to provide the
> the real value by a function stored in the pythonfile.
Ok - got it.
>
> Here, "accountname" is whatever string for the function in the
> pythonfile to return the correct value if there are more than one
> account using the same function. This helps to factorize the code in the
> pythonfile.
So the value is stored somewhere else and the function returns the value -
perfect.
>
> > Is there a specific dependency for OAUTH2?
>
> There is no external Python dependency. The dependencies should be
> provided by the "basic/default" Python environment.
Ok - will try it out tomorrow and store the values in my keychain from the
mac.
Thanks,
Rainer
>
> --
> Nicolas Sebrecht
>
--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)
Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa
Tel : +33 - (0)9 53 10 27 44
Cell: +33 - (0)6 85 62 59 98
Fax (F): +33 - (0)9 58 10 27 44
Fax (D): +49 - (0)3 21 21 25 22 44
email: Rainer at krugs.de
Skype: RMkrug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20160922/3e3c0bb0/attachment-0003.html>
More information about the OfflineIMAP-project
mailing list