Hi,
It's been a while since I dealt with IMAP, but the SSL errors
that you're listing here are from the client side.
On 23/12/24 07:02, cov...@ccs.covici.com wrote:
> Dec 22 15:44:10 ccs.covici.com imapd-ssl[1981705]:
ip=[::ffff:65.49.1.74], couriertls: accept: error:0A000126:SSL
routines::unexpected eof while reading
> Dec 22 15:44:25 ccs.covici.com imapd-ssl[1981705]: Connection,
ip=[::ffff:65.49.1.72], port=[20427]
> Dec 22 15:44:25 ccs.covici.com imapd-ssl[1981705]:
ip=[::ffff:65.49.1.72], couriertls: read: error:0A000126:SSL
routines::unexpected eof while reading
This is happening because your client is not cleanly closing the
connection[1].
In OpenSSL you can set the `SSL_OP_IGNORE_UNEXPECTED_EOF` option
to pretend that the client cleanly closed the connection. See:
https://www.openssl.org/docs/man3.1/man3/SSL_set_options.html
Cheers,
Matt
1: https://github.com/openssl/openssl/discussions/22690