From 7fb2a05147a356b4c7248f1ef4494f05a7bf1c4a Mon Sep 17 00:00:00 2001 From: titanism <101466223+titanism@users.noreply.github.com> Date: Wed, 8 Jan 2025 17:03:52 -0600 Subject: [PATCH] fix: fixed issue with bounces not working properly when hard/soft reject occurs --- helpers/on-data-mx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/on-data-mx.js b/helpers/on-data-mx.js index fb68a1823..f4d51a448 100644 --- a/helpers/on-data-mx.js +++ b/helpers/on-data-mx.js @@ -1679,7 +1679,7 @@ async function onDataMX(session, headers, body) { ]); const accepted = []; - const bounces = []; + const bounces = [...data.bounces]; const vacationResponders = []; // NOTE: we don't add to mail_accepted nor mail_rejected counters for IMAP