From 85633390349c90ea1dd60898eee20022a5642f2c Mon Sep 17 00:00:00 2001 From: JQuags Date: Mon, 27 May 2024 20:44:05 +0000 Subject: [PATCH] sender.js will on a tls failure try a delivery with out tls. However on freebsd 13 a misconfigured server may show 35242434560:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:/usr/src/crypto/openssl/ssl/record/ssl3_record.c:339: But this is not detected as a tls failure and the delivery does not succeed. sender.js has been updated for this error --- lib/sender.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sender.js b/lib/sender.js index c129ae9..ff5cb6a 100644 --- a/lib/sender.js +++ b/lib/sender.js @@ -1225,7 +1225,7 @@ class Sender extends EventEmitter { if ( (err.code === 'ETLS' || - /SSL23_GET_SERVER_HELLO|\/deps\/openssl|ssl3_check|SSL routines/i.test(err.message) || + /SSL23_GET_SERVER_HELLO|\/deps\/openssl|ssl3_check|ssl3_get_record|SSL routines/i.test(err.message) || err.code === 'ECONNRESET') && !ignoreTLS && !enforceTLS