From: twesterhever <40121680+twesterhever@users.noreply.github.com> Date: Wed, 1 May 2024 08:10:34 +0000 (+0000) Subject: [Minor] Constrain Content-Description regexp X-Git-Tag: 3.9.0~50^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4950%2Fhead;p=thirdparty%2Frspamd.git [Minor] Constrain Content-Description regexp --- 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'