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
Mail/INBOX/cur/1315385426_0.18864.chiquitin,U=35731,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,S
create mode 100755
Mail/INBOX/cur/1315318235_0.27133.chiquitin,U=55086,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,RS

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