Unable to use OfflineIMAP to sync Gmail

view story

http://unix.stackexchange.com – I'm trying to setup OfflineIMAP to sync my Gmail account to ~/Mail/Gmail. I'm using a pretty basic ~/.offlineimaprc from here. But OfflineIMAP doesn't connect to Gmail at all. This is the debug message I'm getting (by running OfflineIMAP as offlineimap -o -d imap: OfflineIMAP 6.3.4 Copyright 2002-2011 John Goerzen & contributors. Licensed under the GNU GPL v2+ (v2 or any later version). Debug mode: Forcing to singlethreaded. Now debugging for imap: IMAP protocol debugging Now debugging for : Other offlineimap related sync messages Account sync Gmail: ***** Processing account Gmail Copyin (HowTos)