openssl s_client -connect mail.example.com:143 -starttls imap
would probably work much better.
Aki
On 15/05/2020 20:10 Brandon Roa brandon@bitlagoon.com wrote:
Oops, on second glance I don't think that error is actually directly related to what I was doing.
I had been testing to see if the certificate chain was installed properly by running
openssl s_client -connect mail.example.com:143
But there was no certificate reported in stdout. I thought that error was related to my test command, but I realize now it's not. I'm still confused, though, because I followed all the steps for installing configuring SSL (https://wiki.dovecot.org/SSL/DovecotConfiguration) and it just doesn't seem to have worked.
On 5/14/2020 9:38 PM, Aki Tuomi wrote:
On 15/05/2020 02:36 Brandon Roa brandon@bitlagoon.com wrote:
I just installed a certificate on my mail server to Postfix and Dovecot. The certificate is functional on Postfix, but for some reason I keep getting this error. Any suggestions on how to fix it?
mail dovecot: imap-login: Error: SSL: Stacked error: error:1408A10B:SSL routines:ssl3_get_client_hello:wrong version number
Here is my configuration:
# 2.2.22 (fe789d2): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.13 (7b14904) # OS: Linux 4.4.0-45-generic x86_64 Ubuntu 16.04.6 LTS ext4 This is very dated version of dovecot, you might want to consider using e.g. https://repo.dovecot.org for new version. This is not necessarely the cause here.
For the SSL error, can you describe more on what are you doing when you get the error? It looks a lot like trying plaintext connection to SSL port.
Aki