Rainer M Krug <r.m.k...@gmail.com> writes:

> Le mercredi 21 septembre 2016, Nicolas Sebrecht <nicolas.s-...@laposte.net> a 
> écrit :
>
>  On Wed, Sep 21, 2016 at 10:44:04PM +0200, Rainer M Krug wrote:
>
>  > > I don't get how offlineimap can try XOAUTH if no XOAUTH configuration
>  > > option is set.
>  > >
>  > > Could to try to fix the auth_mechanisms configuration option to check
>  > > what is done?
>  >
>  > OK - I might have been out of the offlineimap loop for a few
>  > months. Could you explain what I should do? How to fix the
>  > auth_mechanisms configuration option?
>
>  https://github.com/OfflineIMAP/offlineimap/blob/master/offlineimap.conf#L792
>
>  The idea is to explicitly remove the XOAUTH2 authentication method to
>  check if the issue is still there.
>
> Ok - thanks. I'll do this tomorrow morning. 

OK - I added

,----
| auth_mechanisms = GSSAPI, CRAM-MD5, PLAIN, LOGIN 
`----

to the

,----
| [Repository RemoteRMKrugGMAIL]
`----

section and the error message is gone.

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?

Is there a specific dependency for OAUTH2? 

Rainer

>
>  --
>  Nicolas Sebrecht

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

Attachment: signature.asc
Description: PGP signature

_______________________________________________
OfflineIMAP-project mailing list: OfflineIMAP-project@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepages:
- https://github.com/OfflineIMAP
- http://offlineimap.org

Reply via email to