Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698322 - net-mail/sendEmail-1.56-r2 - sendEmail: ERROR => TLS setup failed: SSL Version SSLv3 not supported
Summary: net-mail/sendEmail-1.56-r2 - sendEmail: ERROR => TLS setup failed: SSL Versio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2019-10-23 09:50 UTC by Petr Bahula
Modified: 2022-11-23 04:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Bahula 2019-10-23 09:50:39 UTC
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);
Comment 1 Simone Scanzoni 2021-01-23 19:49:50 UTC
I confirm this and the patch fixes it
Comment 2 Daniel Santos 2021-10-01 06:53:18 UTC
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.
Comment 3 Larry the Git Cow gentoo-dev 2022-11-23 04:16:35 UTC
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(+)