]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Constrain Content-Description regexp 4950/head
authortwesterhever <40121680+twesterhever@users.noreply.github.com>
Wed, 1 May 2024 08:10:34 +0000 (08:10 +0000)
committertwesterhever <40121680+twesterhever@users.noreply.github.com>
Wed, 1 May 2024 08:10:34 +0000 (08:10 +0000)
rules/regexp/headers.lua

index dc339b0adb94b4cd0d385c2b4ab5736695af219d..d07d697dedbd065f3643c267ef7229f4f4e6c4c5 100644 (file)
@@ -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'