[offlineimap] google/gmail blocks offlineimap due to security (#228)

Bjørn Forsman notifications at github.com
Sun Aug 16 18:24:59 BST 2015


This is what happens when I run offlineimap:

```
OfflineIMAP 6.5.5
  Licensed under the GNU GPL v2+ (v2 or any later version)
*** Processing account GMail
Establishing connection to imap.gmail.com:993
PLAIN authentication failed: [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
LOGIN authentication failed: [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
ERROR: All authentication types failed:
	PLAIN: [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
	LOGIN: [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
*** Finished account 'GMail' in 0:00
ERROR: Exceptions occurred during the run!
ERROR: All authentication types failed:
	PLAIN: [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
	LOGIN: [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
```

Visiting the url above (https://support.google.com/accounts/answer/6010255) indicates that google does not feel offlineimap is secure enough, and blocks it from logging in.

Google apparantly has the option to "allowing less secure apps to access your account" by toggling a switch, but they don't recommend it (of course).

Is this a won't (can't) fix?

---
Reply to this email directly or view it on GitHub:
https://github.com/OfflineIMAP/offlineimap/issues/228
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20150816/d7a72951/attachment-0002.html>


More information about the OfflineIMAP-project mailing list