Re: mbsync + openvpn

2015-09-12 Thread Oswald Buddenhagen
On Sun, Jun 21, 2015 at 12:09:36PM +0200, Oswald Buddenhagen wrote: > On Sat, Jun 20, 2015 at 01:17:59PM +0200, Daniel Trstenjak wrote: > > 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,

Re: mbsync + openvpn

2015-06-21 Thread Oswald Buddenhagen
On Sun, Jun 21, 2015 at 01:32:50PM +0200, Daniel Trstenjak wrote: > > 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

Re: mbsync + openvpn

2015-06-21 Thread Daniel Trstenjak
> 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 m

Re: mbsync + openvpn

2015-06-21 Thread Oswald Buddenhagen
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 STARTT

Re: mbsync + openvpn

2015-06-20 Thread Daniel Trstenjak
> well, the server disagrees about your needs, and you aren't in a > position to argue (unless you are the server's admin or can influence > them). > > run with -Dn and see what auth methods the server offers. choose the > most "boring" one it accepts. Ok, running with '-Dn' gives me: * OK [CAPABI

Re: mbsync + openvpn

2015-06-19 Thread Oswald Buddenhagen
On Fri, Jun 19, 2015 at 09:22:06PM +0200, Daniel Trstenjak wrote: > I'm accessing an imap server over openvpn, so I don't need any kind of > further secure connection to the imap server. > > SSLType None > AuthMeths LOGIN > > But with this config I'm getting: > IMAP error: server supports no acce

mbsync + openvpn

2015-06-19 Thread Daniel Trstenjak
Hi, I'm accessing an imap server over openvpn, so I don't need any kind of further secure connection to the imap server. I tried something like: IMAPAccount abc Host *** User *** Pass *** SSLType None AuthMeths LOGIN But with this config I'm getting: IMAP error: server supports no acceptable aut