On Sat, Jun 20, 2015 at 01:17:59PM +0200, Daniel Trstenjak wrote:
> Ok, running with '-Dn' gives me:
> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
> IDLE STARTTLS LOGINDISABLED]
> 
> So I tried the config:
> IMAPAccount ***
> Host ***
> User ***
> Pass ***
> SSLType STARTTLS
> 
> Which gives me:
> C: 0/1  B: 0/1  M: +0/0 *0/0 #0/0  S: +0/0 *0/0 #0/0
> SSL error connecting mail (192.168.1.3:993):
> error:00000014:lib(0):func(0):SSL lib
>
i have no clue what that means, but most likely it has something to do
with the fact that the tunneled server's ssl certificate does not match
"mail". you can play with the "openssl s_client" command. if you get
some more helpful error message, i'd be interested in that (to make
mbsync more helpful as well).

i suspect that setting CertificateFile to what you get out of getcert
will fix the problem.

> C: 1/1  B: 0/1  M: +0/0 *0/0 #0/0  S: +0/0 *0/0 #0/0mbsync:
> socket.c:738: do_write: Assertion `sock->fd >= 0' failed.
> Aborted (core dumped)
> 
now, that obviously should not happen.

------------------------------------------------------------------------------
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to