From 6f03e893d7995d5222377b61c1983449c2b34811 Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Thu, 10 Oct 2024 13:40:44 +0300 Subject: [PATCH] Changed TOOBIG error message --- imap-core/lib/imap-command.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/imap-core/lib/imap-command.js b/imap-core/lib/imap-command.js index f302ee49..f2a50b3b 100644 --- a/imap-core/lib/imap-command.js +++ b/imap-core/lib/imap-command.js @@ -156,8 +156,9 @@ class IMAPCommand { } this.connection?.loggelf({ - short_message: `[TOOBIG] ${errorMessage}`, + short_message: `[TOOBIG] Literal too large`, _error: 'toobig', + _error_response: `${this.tag} NO [TOOBIG] ${errorMessage}`, _service: 'imap', _command: this.command, _payload: this.payload ? (this.payload.length < 256 ? this.payload : this.payload.toString().substring(0, 256) + '...') : command.value,