From a218da189ad72cba775f28bb73b752cf41155c5e Mon Sep 17 00:00:00 2001 From: Louis Laureys Date: Fri, 17 May 2024 20:27:28 +0200 Subject: [PATCH] Fix default EHLO banner formatting (#3365) --- 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", ];