diff options
author | twesterhever <40121680+twesterhever@users.noreply.github.com> | 2024-05-01 08:10:34 +0000 |
---|---|---|
committer | twesterhever <40121680+twesterhever@users.noreply.github.com> | 2024-05-01 08:10:34 +0000 |
commit | a41c12a4e325769f94fdf8d8f40837ea0d29a374 (patch) | |
tree | b09d8de181dbe8b53df174e78d1fd4c521b7615c /rules | |
parent | eed763a7cf7deb90c98085c047bafad998ef05b5 (diff) | |
download | rspamd-a41c12a4e325769f94fdf8d8f40837ea0d29a374.tar.gz rspamd-a41c12a4e325769f94fdf8d8f40837ea0d29a374.zip |
[Minor] Constrain Content-Description regexp
Diffstat (limited to 'rules')
-rw-r--r-- | rules/regexp/headers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index dc339b0ad..d07d697de 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' |