Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 954329 - net-mail/sendEmail-1.56-r3 - ERROR => TLS setup failed: SSL connect attempt failed error:0A0C0103:SSL routines::internal error
Summary: net-mail/sendEmail-1.56-r3 - ERROR => TLS setup failed: SSL connect attempt f...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
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:
 
Reported: 2025-04-24 09:44 UTC by Petr Bahula
Modified: 2025-04-24 09:55 UTC (History)
0 users

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 2025-04-24 09:44:00 UTC
net-mail/sendEmail-1.56-r2 not work

Apr 24 11:07:50 localhost sendEmail[12579]: ERROR => TLS setup failed: SSL connect attempt failed error:0A0C0103:SSL routines::internal error


Reproducible: Always

Steps to Reproduce:
Following patch correct it:

--- old/sendEmail       2025-04-24 11:35:43.041920589 +0200
+++ new/sendEmail       2025-04-24 11:27:12.648150848 +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 => 'TLSv1', SSL_verify_mode => 0x00)) {
+        if (! IO::Socket::SSL->start_SSL($SERVER, SSL_version => 'TLSv1_3', SSL_verify_mode => 0x00)) {
             quit("ERROR => TLS setup failed: " . IO::Socket::SSL::errstr(), 1);
         }
         printmsg("DEBUG => TLS: Using cipher: ". $SERVER->get_cipher(), 3);