@@ -437,3 +437,3 @@ 'use strict'; | ||
returned = true; | ||
if (err.code === 'ETLS' && !this.tlsDisabled.has(ip)) { | ||
if ((err.code === 'ETLS' || /SSL23_GET_SERVER_HELLO/.test(err.message)) && !this.tlsDisabled.has(ip)) { | ||
// STARTTLS failed, try again, this time without encryption | ||
@@ -440,0 +440,0 @@ log.info('Sender/' + this.zone.name + '/' + process.pid, '%s.%s Failed to connect to %s[%s] using STARTTLS, proceeding with plaintext', delivery.id, delivery.seq, exchange.exchange, ip); |
{ | ||
"name": "zone-mta", | ||
"private": false, | ||
"version": "0.1.0-alpha.77", | ||
"version": "0.1.0-alpha.78", | ||
"description": "Tiny outbound MTA", | ||
@@ -6,0 +6,0 @@ "main": "app.js", |
336805
0.01%