Dear Mu4ers... :)
I'm sure many of us received this from Google: "[...] on October
30, 2019, we’ll begin removing the setting to “Enforce access to
less secure apps for all users” from the Google Admin console.
[...] Removing this setting will help keep your users’ accounts
secure, as access to less secure apps (LSAs) can inadvertently
make Google accounts vulnerable to hijackers."
This means that both offlineimap and mbsync/isync (oi/mbs) will
not work as they are in their default installations since Google
sees them as "less secure".
However, it seems we don't have to change our stable and beloved
setup. Maybe even some of you already have this working!
Google says in
https://support.google.com/accounts/answer/185833?hl=en
Sign in using App Passwords: An App Password is a 16-digit
passcode
that gives a non-Google app or device permission to access your
Google Account. App Passwords can only be used with accounts that
have 2-Step Verification turned on.
And as noted in
https://ryanwhittingham.com/using-multiple-email-accounts-with-mu4e/:
First, we should set up an app password for Gmail.
This will let mbsync access your Gmail account without letting
all less secure apps access your Gmail account.
So it seems that it's possible to configure both daemons with a 2
step verification to make offlineimap and mbsync a non "less
secure" app, and -from a preliminary reading- it looks like it is
not complex:
+ set up 2 step authentication (2SA) in our google account (easy)
+ set up an app password and configure it in oi/mbs (easy).
+ use 2SA in oi/mbs (unknown complexity).
I will start looking and experimenting with this now, but before
touching much, does anyone of you tried this, or have it already
done?
Always, and as in every case, thanks a lot for your attention and
help... :D
Best regards...
--
Eduardo Mercovich
Donde se cruzan tus talentos
con las necesidades del mundo,
ahí está tu vocación.
(Anónimo)