net-mail/sendEmail-1.56-r2 stop work after last update with message Oct 23 11:14:08 localhost sendEmail[8215]: ERROR => TLS setup failed: SSL Version SSLv3 not supported Following patch correct it: --- old/sendEmail 2019-10-23 11:46:11.768811589 +0200 +++ new/sendEmail 2019-10-23 11:47:02.873128806 +0200 @@ -1903,7 +1903,7 @@ if ($conf{'tls_server'} == 1 and $conf{'tls_client'} == 1 and $opt{'tls'} =~ /^(yes|auto)$/) { printmsg("DEBUG => Starting TLS", 2); if (SMTPchat('STARTTLS')) { quit($conf{'error'}, 1); } - if (! IO::Socket::SSL->start_SSL($SERVER, SSL_version => 'SSLv3', SSL_verify_mode => 0x00)) { + if (! IO::Socket::SSL->start_SSL($SERVER, SSL_version => 'TLSv1', SSL_verify_mode => 0x00)) { quit("ERROR => TLS setup failed: " . IO::Socket::SSL::errstr(), 1); } printmsg("DEBUG => TLS: Using cipher: ". $SERVER->get_cipher(), 3);
I confirm this and the patch fixes it
Well this patch fixed it for me as well, but this appears to be a downstream issue and not upstream. The patch files/1.56-overzealous-version-check.patch appears to introduce this problem in the first place. I'm sure that patch fixes some other problem (for maybe when you don't have TLSv1?), but it creates a new one.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3047a3a2b723c5572d6120512450e0cf9eca7395 commit 3047a3a2b723c5572d6120512450e0cf9eca7395 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-11-23 04:13:04 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-11-23 04:13:04 +0000 net-mail/sendEmail: fix openssl 1.1 compat Closes: https://bugs.gentoo.org/698322 Signed-off-by: Sam James <sam@gentoo.org> net-mail/sendEmail/files/1.56-openssl-1.1.patch | 12 ++++++++++ net-mail/sendEmail/sendEmail-1.56-r3.ebuild | 31 +++++++++++++++++++++++++ 2 files changed, 43 insertions(+)