• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

140790E5:SSL routines:SSL23_WRITE:ssl handshake failure IMAP server problem

inado1

Basic Pleskian
Hi,

i have this error

error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:/SourceCache/OpenSSL098/OpenSSL098-47.1/src/ssl/s23_lib.c:182

Let me explain you the context. I have seen in my mail client a warning sign. i had a message saying problem with communicating with the IMAP server on SSL 993 port

I decided to connect to the IMAP server through SSH using:

openssl s_client -connect mywebsite.com:993

This is how i got the error. Strangely error, i don't have it when i login to my server & type openssl s_client -connect inad.me:993 it works.
I disabled iptables but it was not enough, the error still appears.

I personnally believe it is a user permission problem but i don't know which file permissions should be checked.

If anyone has an idea, it would be well appreciated.
 
i have found the source of the issue.

I use as client Apple Mail and i know from my experience this mail client uses lots of processes at the same time.

I looked into MAILLOG & i have found this error:
courier-imaps: Maximum connection limit reached for ::ffff:

i raised the value from MAXPERIP in /etc/courier-imap/imapd from 4 to 40.

I then reloaded the conf. for Imap processes

/etc/rc.d/init.d/courier-imapd restart

and

/etc/rc.d/init.d/courier-imaps restart
 
Back
Top