Re: [SOGo] 5.0.1: Possible imaps error
Orr Thank you very much Am 09.11.20 um 09:03 schrieb Nicolas Höft (nico...@hoeft.de): > 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=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=default >>> base=(null) >>> base-class=(null)) >>> = <0x0x80742b148[NGImap4Client]: login=ry86(pwd) >> socket=> 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 -- --- punkt.de GmbH Lars Liedtke .infrastructure Kaiserallee 13a 76133 Karlsruhe Tel. +49 721 9109 500 https://infrastructure.punkt.de i...@punkt.de AG Mannheim 108285 Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] 5.0.1: Possible imaps error
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=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=default base=(null) base-class=(null)) = <0x0x80742b148[NGImap4Client]: login=ry86(pwd) socket=>> 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
Re: [SOGo] 5.0.1: Possible imaps error
Addition: using > imap://localhost:143/?tls=YES=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=default > base=(null) > base-class=(null)) > = <0x0x80742b148[NGImap4Client]: login=ry86(pwd) socket=>> 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 Am 06.11.20 um 16:01 schrieb Lars Liedtke (lied...@punkt.de): > Hello everyone, > > after Nicholas helped with setting my imap configuration right my the > sogo.conf on 5.0.0, I tried to apply the same for 5.0.1 and ran into > another issue: > > My IMAP config looks like this: > >> SOGoIMAPServer = > "imaps://localhost:993/?tlsVerifyMethod=allowInsecureLocalhost"; > > But SOGo tells me in cannot connect to the imap server. In sogo.log I > find this: > >> 2020-11-06 15:44:13.844 sogod[60504:100448] ERROR(-[NGActiveSSLSocket > startTLS]): couldn't setup SSL connection on host localhost > (error:0001:lib(0):func(0):reason(1))... >> Nov 06 15:44:13 sogod [60504]: [ERROR] > <0x0x807458a68[NGImap4ConnectionManager]> IMAP4 login failed: >> host=localhost, user=ry86, pwd=yes >> url=imaps://ry86@localhost/?tls=NO=default >> base=(null) >> base-class=(null)) >> = <0x0x807449488[NGImap4Client]: login=ry86(pwd) > address=<0x0x80751df38[NGInternetSocketAddress]: host=localhost port=993>> >> Nov 06 15:44:13 sogod [60504]: [ERROR] <0x807442888[SOGoMailAccount]:0> > Could not connect IMAP4 > > Which look to me at the moment as if SOGo 5.0.1 does not translate my > configuration into its own call to dovecot properly. > > Am I mistaken? > > Cheers > > Lars > -- --- punkt.de GmbH Lars Liedtke .infrastructure Kaiserallee 13a 76133 Karlsruhe Tel. +49 721 9109 500 https://infrastructure.punkt.de i...@punkt.de AG Mannheim 108285 Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] 5.0.1: Possible imaps error
Hello everyone, after Nicholas helped with setting my imap configuration right my the sogo.conf on 5.0.0, I tried to apply the same for 5.0.1 and ran into another issue: My IMAP config looks like this: > SOGoIMAPServer = "imaps://localhost:993/?tlsVerifyMethod=allowInsecureLocalhost"; But SOGo tells me in cannot connect to the imap server. In sogo.log I find this: > 2020-11-06 15:44:13.844 sogod[60504:100448] ERROR(-[NGActiveSSLSocket startTLS]): couldn't setup SSL connection on host localhost (error:0001:lib(0):func(0):reason(1))... > Nov 06 15:44:13 sogod [60504]: [ERROR] <0x0x807458a68[NGImap4ConnectionManager]> IMAP4 login failed: > host=localhost, user=ry86, pwd=yes > url=imaps://ry86@localhost/?tls=NO=default > base=(null) > base-class=(null)) > = <0x0x807449488[NGImap4Client]: login=ry86(pwd) address=<0x0x80751df38[NGInternetSocketAddress]: host=localhost port=993>> >Nov 06 15:44:13 sogod [60504]: [ERROR] <0x807442888[SOGoMailAccount]:0> Could not connect IMAP4 Which look to me at the moment as if SOGo 5.0.1 does not translate my configuration into its own call to dovecot properly. Am I mistaken? Cheers Lars -- --- punkt.de GmbH Lars Liedtke .infrastructure Kaiserallee 13a 76133 Karlsruhe Tel. +49 721 9109 500 https://infrastructure.punkt.de i...@punkt.de AG Mannheim 108285 Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein -- users@sogo.nu https://inverse.ca/sogo/lists