<DKIM> Cannot use offlineimap with gmail

Nicolas Sebrecht nicolas.s-dev at laposte.net
Sat Apr 29 13:05:47 BST 2017


On Sat, Apr 29, 2017 at 03:43:46PM +0530, Sridhar M A wrote:

> I am trying to use offlineimap but keep getting this error message:

> Searching, found this to be a common issue. One of the posts (ubuntu I
> guess) mentioned including a fingerprint in the rc file. My
> offlinemaprc file looks like this:
> 
> [general]
> accounts = xx
> maxconnections = 8
> 
> [Account xx at yy]
> localrepository = xx-local
> remoterepository = xx-remote
> postsynchook = notmuch new
> 
> [Repository xx-local]
> type = Maildir
> localfolders = ~/Mail/xx
> 
> [Repository xx-remote]
> type = Gmail
> remoteuser = xx at yy.zz
> remotepass = secret
> cert_fingerprint=f3043dd689a2e7dddfbef82703a6c65ea9b634c1
> sslcacertfile = /etc/ssl/certs/ca-certificates.crt
> 
> No luck even after commenting the certificate line and/or fingerprint
> line. I also tried setting ssl=no with the same result.

You should either use fingerprint or sslcacertfile but not both.

You might like to manually check your CA cert file like this:

  http://www.offlineimap.org/doc/FAQ.html#checking-the-ssl-certificate

-- 
Nicolas Sebrecht




More information about the OfflineIMAP-project mailing list