From 331ca2e5e34cb84ea3610f33e78666cedd338a84 Mon Sep 17 00:00:00 2001 From: Louis Laureys Date: Fri, 17 May 2024 20:18:24 +0200 Subject: [PATCH] Fix default EHLO banner formatting --- connection.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connection.js b/connection.js index ef70e0f2c..c185bd741 100644 --- a/connection.js +++ b/connection.js @@ -850,7 +850,7 @@ class Connection { default: // RFC5321 section 4.1.1.1 // Hostname/domain should appear after 250 - this.respond(250, `${this.local.host} Hello ${this.get_remote('host')}${this.ehlo_hello_message}`); + this.respond(250, `${this.local.host} Hello ${this.get_remote('host')}, ${this.ehlo_hello_message}`); } } ehlo_respond (retval, msg) { @@ -883,7 +883,7 @@ class Connection { // Hostname/domain should appear after 250 const response = [ - `${this.local.host} Hello ${this.get_remote('host')}${this.ehlo_hello_message}`, + `${this.local.host} Hello ${this.get_remote('host')}, ${this.ehlo_hello_message}`, "PIPELINING", "8BITMIME", ];