Re: [SOGo] IMAPS & SMTPS connections

2021-12-16 Thread HYVERNAT Philippe
Hello, thanks for your answer . I created certificate and key like that : # openssl req -x509 -newkey rsa:4096 -keyout imapkey.pem -out imapcert.pem -days 365 -nodes The "my-rootCA.crt" in your example is my imapcert.pem in my command ? Le 16/12/2021 à 17:41, Christian Mack

Re: [SOGo] IMAPS & SMTPS connections

2021-12-16 Thread Christian Mack
Hello Your self signed certificate is a CA certificate :-) On FreeBSD you have to: sudo cp my-rootCA.crt /etc/ssl/certs/ sudo chmod 0644 /etc/ssl/certs/my-rootCA.crt sudo chown root:wheel /etc/ssl/certs/my-rootCA.crt sudo openssl x509 -noout -hash -in /etc/ssl/certs/my-rootCA.crt The last

Re: [SOGo] IMAPS & SMTPS connections

2021-12-16 Thread HYVERNAT Philippe
Thanks for your answer, i use FreeBSD 13 OS , so where can i place and make a ca certificate ? my smtp  and imap server are on a different hosts each one smtp : 172.30.20.121 imap : 172.30.20.131 Le 16/12/2021 à 13:24, Christian Mack (christian.m...@uni-konstanz.de) a écrit : Hello This

Re: [SOGo] IMAPS & SMTPS connections

2021-12-16 Thread Christian Mack
Hello This is your problem. You have to tell your OS, which CA you use. Which OS are you using? In Debian you have to add it by: sudo cp my-rootCA.crt /usr/local/share/ca-certificates/ sudo update-ca-certificates Kind regards, Christian Mack On 16.12.21 09:38, HYVERNAT Philippe

Re: [SOGo] IMAPS & SMTPS connections

2021-12-16 Thread Christian Mack
Hello This only works for SMTP and IMAP on the same host as SOGo. As hyvernat philippe is using different servers, this will not work. Kind regards, Christian Mack On 16.12.21 09:34, webt...@armymail.mod.uk wrote: > > You can use an IP with no certificate changes but you need to add an >

Re: [SOGo] IMAPS & SMTPS connections

2021-12-16 Thread HYVERNAT Philippe
Hello, no i haven't and i use the name of the host present in the certifiate (using also openssl s_client. command to connect and show the host) It is a self signed certificate, is it a problem ? ssl error : unknown ca Thanks Le 16/12/2021 à 08:59, Christian Mack

Re: [SOGo] IMAPS & SMTPS connections

2021-12-16 Thread webt...@armymail.mod.uk
You can use an IP with no certificate changes but you need to add an option to the connection string:     SOGoIMAPServer = "imaps://127.0.0.1:143/?tls=YES=allowInsecureLocalhost";     SOGoSMTPServer = "smtp://127.0.0.1:587/?tls=YES=allowInsecureLocalhost"; Not a problem with localhost

Re: [SOGo] IMAPS & SMTPS connections

2021-12-16 Thread Christian Mack
Hello Do you have those IP addresses in your certificates on your IMAP and SMTP servers? If not, you should add the names from those certificates in your sogo.conf. Kind regards, Christian Mack On 14.12.21 15:13, hyvernat philippe (p.hyver...@outlook.fr) wrote: > Hello, > Si nothing butter. I

Re: [SOGo] IMAPS & SMTPS connections

2021-12-15 Thread Fernando
There's a colon missing in the "SOGoIMAPServer" directive (should be "imaps://172.30.20.131:993"), perhaps that's the issue? Regards, Fernando El 15/12/21 a las 10:22, Christian Naumer (c...@brain-biotech.de) escribió: Am 13.12.21 um 16:51 schrieb HYVERNAT Philippe (p.hyver...@outlook.fr):

Re: [SOGo] IMAPS & SMTPS connections

2021-12-15 Thread Christian Naumer
Am 13.12.21 um 16:51 schrieb HYVERNAT Philippe (p.hyver...@outlook.fr): SOGoIMAPServer = "imaps//172.30.20.131:993";   SOGoSMTPServer = "smtp://172.30.20.121:587/?tls=YES"; You probably should use the FQD as in the certificates used for TLS. In Thunderbird you can add exceptions for this.

Re: [SOGo] IMAPS & SMTPS connections

2021-12-15 Thread hyvernat philippe
Hello, Si nothing butter. I use the / separator used also in dovecot And with the imap acl parameter nothing better. The connection is ok with imap://host:143 but nothing whith imaps and 993 HYVERNAT Philippe > Le 13 déc. 2021 à 18:18, Christian Mack a écrit : > > Hello > > Have you set

Re: [SOGo] IMAPS & SMTPS connections

2021-12-15 Thread hyvernat philippe
In the dovecot log i have always ssl-accept failed tlsv1 alert unknown ca : Ssl alert number 48 HYVERNAT Philippe > Le 14 déc. 2021 à 15:13, hyvernat philippe a écrit : > > Hello, > Si nothing butter. I use the / separator used also in dovecot > > And with the imap acl parameter nothing

Re: [SOGo] IMAPS & SMTPS connections

2021-12-13 Thread hyvernat philippe
Hello Thanks for your answer I have a dovecot that support auth and smtp server pass the auth to dovecot I test tomorrow HYVERNAT Philippe > Le 13 déc. 2021 à 18:18, Christian Mack a écrit : > > Hello > > Have you set the following option? >SOGoIMAPAclConformsToIMAPExt = YES; > > And

Re: [SOGo] IMAPS & SMTPS connections

2021-12-13 Thread Christian Mack
Hello Have you set the following option? SOGoIMAPAclConformsToIMAPExt = YES; And what have you set for NGImap4ConnectionStringSeparator? Kind regards, Christian Mack Am 13.12.21 um 16:51 schrieb HYVERNAT Philippe (p.hyver...@outlook.fr): > Hello all, > > another problem, i have an smtp

[SOGo] IMAPS & SMTPS connections

2021-12-13 Thread HYVERNAT Philippe
Hello all, another problem, i have an smtp and imap server : postfix : 587 STARTTLS PLAIN Imap : 993 SSL/TLS PLAIN On thunderbird everything is ok but impossible to connect with Sogo. I tried many configuration and nothing is ok  : SOGoIMAPServer = "imaps//172.30.20.131:993";