On Mon, Nov 07 2022, Yu-Fu Fu wrote: > > I think these things would be successful to the developer. > 1. the debug logs; you can get that from =mbsync --debug=. > 2. how long is your token length? this is mine: 1908 chars. > ❯ oauth2ms | wc -c > 1908 > > I have checked that I can pass the login without modify the length of > =buf=. > > 3. I also compile with ASAN on and does not find any errors. > > As a result, I guess that XOAUTH2 is not the root cause for your error.
Thanks for your message. You're actually right. The "buffer too small" error appears only when the cyrus-sasl-xoauth2 plugin is not available. In that case mbsync uses the LOGIN command, which uses the small buffer. When the plugin is available mbsync uses AUTHENTICATE XOAUTH2 command, which works well. Best regards, -Michal _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel