Hi Lars,

You have passed tlsVerifyMethod=allowInsecureLocalhost instead of tlsVerifyMode

Ie. `Mode` vs `Method`. So the TLS validation will default to normal host name validation and then fail (as expected).


Nicolas


Am 06.11.20 um 16:57 schrieb Lars Liedtke (lied...@punkt.de):
Addition:

using

imap://localhost:143/?tls=YES&tlsVerifyMethod=allowInsecureLocalhost"
leads to

Nov 06 16:34:12 sogod [60950]: [ERROR]
<0x0x807446b28[NGImap4ConnectionManager]> IMAP4 login failed:
   host=localhost, user=ry86, pwd=yes
   url=imaps://ry86@localhost/?tls=YES&tlsVerifyMode=default
   base=(null)
   base-class=(null))
   = <0x0x80742b148[NGImap4Client]: login=ry86(pwd)
socket=<NGActiveSocket[0x0x80744c088]: mode=rw
address=<0x0x807531298[NGInternetSocketAddress]: host=localhost
port=16026>>>

using

imap://localhost:143
works. This is not a big Problem, bc were on localhost; but it seems a
bug, whichmight affect others as well

Cheers

Lars
--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to