diff options
author | Steve Freegard <steve@stevefreegard.com> | 2017-04-11 16:13:05 +0100 |
---|---|---|
committer | Steve Freegard <steve@stevefreegard.com> | 2017-04-12 15:50:45 +0100 |
commit | 9aa169e092def662ec521adb6a07c04e46375fa0 (patch) | |
tree | 3bd6be84dd61f303503b1db3c592ab819fc20fc4 /rules/regexp | |
parent | 8f191fa2d1318b413f764e6958e498665bc449ce (diff) | |
download | rspamd-9aa169e092def662ec521adb6a07c04e46375fa0.tar.gz rspamd-9aa169e092def662ec521adb6a07c04e46375fa0.zip |
New rules
Diffstat (limited to 'rules/regexp')
-rw-r--r-- | rules/regexp/headers.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index af63d7131..68e540aee 100644 --- a/rules/regexp/headers.lua +++ b/rules/regexp/headers.lua @@ -905,3 +905,14 @@ 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' +} |