Ssl error with offlineimap version 6.6.1 (debian package)

Nicolas Sebrecht nicolas.s-dev at
Sun Feb 7 01:11:59 GMT 2016

On Sat, Feb 06, 2016 at 09:44:37PM +0100, Leandro Noferini wrote:

> > Also, you might like to check the output of --info.
> leandro at tricheco:~$ offlineimap -a BBs --info
> OfflineIMAP 6.6.1
>   Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
> Remote repository 'RemotoBBs': type 'IMAP'
> Host: Port: None SSL: True
> Establishing connection to
> Failed to connect. Reason Unknown SSL protocol connecting to host '' for repository 'RemotoBBs'. OpenSSL responded:
> [SSL: SSL_NEGATIVE_LENGTH] dh key too small (_ssl.c:590)

Erf! I didn't read the error carefully enough, sorry. If you're sure
about the the key, "dh key too small" makes me think about an issue in

You may try manually as explained in this blog post to check if the
library works:

Nicolas Sebrecht

More information about the OfflineIMAP-project mailing list