<DKIM> Error when uploading to Gmail: reader socket error: <type 'exceptions.IOError'> Too many read 0

Nicolas Sebrecht nicolas.s-dev at laposte.net
Fri Sep 9 20:12:49 BST 2016

On Fri, Sep 09, 2016 at 06:53:26PM +0100, Sean Hammond wrote:
> Hi, I'm having problem uploading a large local maildir to my gmail
> account with offlineimap. It always gets to message 177 and then just
> freezes. When I run it with -d imap,maildir,thread then a couple of the
> last messages I see, before offlineimap stops doing anything and just
> sits there, are:
> imap.gmail.com reader socket error: <type 'exceptions.IOError'> - Too
> many read 0
> and:
> imap.gmail.com handler terminating: "socket error: <type
> 'exceptions.IOError'> - Too many read 0"
> Any idea what the problem could be? Is the maildir folder simply too
> big?

Provide the following information:
- system/distribution (with version)
- offlineimap version (`offlineimap -V`)
- Python version
- server name or domain
- CLI options
- Configuration file (offlineimaprc)
- pythonfile (if any)
- Logs

Nicolas Sebrecht

More information about the OfflineIMAP-project mailing list