diff options
author | Steve Freegard <steve@stevefreegard.com> | 2017-07-27 13:22:36 +0100 |
---|---|---|
committer | Steve Freegard <steve@stevefreegard.com> | 2017-07-27 13:22:36 +0100 |
commit | b5f47a20bb0ec043c4be0ca9e7ae1e5fddd96c8f (patch) | |
tree | 7936936d5aef246425d2f6a4daede2dc767ac036 /rules/regexp | |
parent | f877a24ae0707ce8dd30d143fe306e4325de888c (diff) | |
download | rspamd-b5f47a20bb0ec043c4be0ca9e7ae1e5fddd96c8f.tar.gz rspamd-b5f47a20bb0ec043c4be0ca9e7ae1e5fddd96c8f.zip |
Improve CTYPE_MIXED_BOGUS and MIME_BASE64_TEXT rules
Diffstat (limited to 'rules/regexp')
-rw-r--r-- | rules/regexp/headers.lua | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index a2e7f3829..4d9d2c77d 100644 --- a/rules/regexp/headers.lua +++ b/rules/regexp/headers.lua @@ -901,14 +901,3 @@ reconf['HAS_XOIP'] = { score = 0.0, group = 'headers' } - -reconf['MIME_BASE64_TEXT'] = { - re = string.format('(%s && %s) || (%s && %s)', - 'Content-Type=/^text/Hi', - 'Content-Transfer-Encoding=/^base64/Hi', - 'Content-Type=/^text/Bi', - 'Content-Transfer-Encoding=/^base64/Bi'), - description = 'Message text disguised using base64 encoding', - score = 0.0, - group = 'headers' -} |