diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-08-21 18:21:28 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-08-21 18:21:28 +0200 |
commit | caa40f91625297c0ef8788386ab8aaac860c381e (patch) | |
tree | 20f547e81f531122a64ac1ba44843576163c034a /rules | |
parent | d9d6df8817e83a0450cc6f176d00dfb5a5999ebf (diff) | |
download | rspamd-caa40f91625297c0ef8788386ab8aaac860c381e.tar.gz rspamd-caa40f91625297c0ef8788386ab8aaac860c381e.zip |
[Minor] Fix log message
- Also clean up X_PHP_EVAL rule
Diffstat (limited to 'rules')
-rw-r--r-- | rules/regexp/headers.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index 8f6e47ee9..6ec37181f 100644 --- a/rules/regexp/headers.lua +++ b/rules/regexp/headers.lua @@ -436,8 +436,8 @@ reconf['FORGED_GENERIC_RECEIVED5'] = 'Received=/\\s*from \\[(\\d{1,3}\\.\\d{1,3} reconf['INVALID_POSTFIX_RECEIVED'] = 'Received=/ \\(Postfix\\) with ESMTP id [A-Z\\d]+([\\s\\r\\n]+for <\\S+?>)?;[\\s\\r\\n]*[A-Z][a-z]{2}, \\d{1,2} [A-Z][a-z]{2} \\d\\d\\d\\d \\d\\d:\\d\\d:\\d\\d [\\+\\-]\\d\\d\\d\\d$/X' reconf['X_PHP_EVAL'] = { - re = "X-PHP-Originating-Script=/\\s:\\seval\\(\\)'d code$/X", + re = "X-PHP-Originating-Script=/ : eval\\(\\)'d code$/X", score = 4.0, - description = "Message sent by eval()'d php code", + description = "Message sent by eval()'d PHP code", group = 'header' } |