From a41c12a4e325769f94fdf8d8f40837ea0d29a374 Mon Sep 17 00:00:00 2001 From: twesterhever <40121680+twesterhever@users.noreply.github.com> Date: Wed, 1 May 2024 08:10:34 +0000 Subject: [PATCH] [Minor] Constrain Content-Description regexp --- rules/regexp/headers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index dc339b0adb..d07d697ded 100644 --- a/rules/regexp/headers.lua +++ b/rules/regexp/headers.lua @@ -911,7 +911,7 @@ reconf['HAS_CD_HEADER'] = { } reconf['CD_MM_BODY'] = { - re = 'Content-Description=/Mail message body/Hi', + re = 'Content-Description=/^Mail message body$/Hi', description = 'Content-Description header reads "Mail message body", commonly seen in spam', score = 2.0, group = 'headers' -- 2.47.3