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);
Debian has: * https://sources.debian.org/patches/sendemail/1.56-5.2/fix_ssl_version.patch/ * https://sources.debian.org/patches/sendemail/1.56-5.2/fix_tls_hostname_verification.patch/