Gmail & ssl wows

Dmitrijs Ledkovs dmitrij.ledkov at
Sat Aug 28 12:09:25 BST 2010

On 28 August 2010 01:45, Ng Oon-Ee <ngoonee at> wrote:
> On Fri, 2010-08-27 at 18:45 +0100, Dmitrijs Ledkovs wrote:
>> For a few weeks now I'm getting this:
>> ***** Processing account GMail
>> Copying folder structure from IMAP to MappedIMAP
>> Establishing connection to
>> WARNING: Error occured attempting to sync account GMail: [Errno 8] _ssl.c:490: E
>> OF occurred in violation of protocol
>> Any idea what's going on?
>> Thanks.
> A file (more likely on Gmail's side, but sometimes on your side as well)
> has an attachment with an invalid EOF. Maybe a zip file, maybe an image.
> Try randomly deleting (archiving) messages which are on your gmail but
> not in your local copy.

Hmm I've tried new local folder & a different gmail account with
*significantly* less and different emails. No luck.

Could this be related to freaky network I'm behind? University /
firewalled / eduroam like. It requires lan authentication and

I see some reports & "recipes" for handling HTTPS proxies in python,
but I'm not sure whether offlineimap is affected.

Can anyone confirm that they can succesfully use offlineimap behind
HTTPS_PROXY with gmail or other servers?

More information about the OfflineIMAP-project mailing list