On Wed, 3 Aug 2022 19:35:27 +0200 Antoine Le Gonidec <[email protected]> wrote: > On Sun, 15 May 2022 19:29:36 -0500 Robin Cook <[email protected]> wrote: > > * postfix/smtps/smtpd[4002368]: warning: TLS library problem: > > error:0A000126:SSL routines::unexpected eof while > > reading:../ssl/record/rec_layer_s3.c:308 > > On an up-to-date Debian Sid (postfix 3.6.4-1+b3) I can reliably trigger this > error with the following command run from the same server that is hosting > Postfix: > > openssl s_client -connect localhost:smtp -starttls smtp > > I hope this can help in diagnosing what is causing it in the first place.
I just encountered this bugs and can also reproduce it in 3.7.3-4. Basically this is about client disconnecting without issueing a proper SSL_shutdown(). Behaviour of OpenSSL has changed between 1.1.1 and 3.0. Upstream is discussing the bug here and it seems the proposed fix has been accepted and will be included in the next stable release, within a few days. https://www.mail-archive.com/[email protected]/msg97759.html -- Samuli Suonpää

