Which encoding is used by offlineimap?

Victor Pablos Ceruelo victorpablosceruelo at gmail.com
Thu Sep 8 11:00:49 BST 2011

Hi Sebastian,

You are right. Gmail drops connection without any reason.

abort: command: APPEND => socket error: <type 'exceptions.IOError'> -
Too many read 0

is caused too by a connection drop.
I've just recovered some emails I deleted:

git revert master~35
create mode 100755
create mode 100755

and offlineimap synced one of them without any problem:

 Copy message 35731 Maildir[INBOX] -> Gmail[INBOX]

On Wed, Sep 7, 2011 at 6:17 PM, Sebastian Spaeth <Sebastian at sspaeth.de> wrote:
> I would still be surprised if this is related to encodings, but Gmail
> has been found to refuse some mails for uploading, it might well be
> related to it.

You're completely right: maybe gmail does not work well with this kind
of characters, but it does not explain why
with some emails it works perfectly and with some others it does not.
I save logs history for offlineimap, so if it happens to me that some
email is never uploaded/downloaded
I'll try to send here so you can use it for testing purposes.

> So far we did not discard dropped connections properly, and a patch has
> gone in.

Hope to see it soon ... ;-)

Thanks for your time, Sebastian, and sorry for being so stubborn.

More information about the OfflineIMAP-project mailing list