<DKIM> Cannot use offlineimap with gmail
Nicolas Sebrecht
nicolas.s-dev at laposte.net
Sat Apr 29 13:27:39 BST 2017
On Sat, Apr 29, 2017 at 02:05:47PM +0200, Nicolas Sebrecht wrote:
> 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.
Of course, once you get one to work as expected it's possible to enable
the other. Enabling security options step by step helps to understand
what's going on.
--
Nicolas Sebrecht
More information about the OfflineIMAP-project
mailing list