diff options
Diffstat (limited to 'rules')
-rw-r--r-- | rules/misc.lua | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/rules/misc.lua b/rules/misc.lua index f3a2ab7d9..6a1eec4fc 100644 --- a/rules/misc.lua +++ b/rules/misc.lua @@ -174,13 +174,9 @@ rspamd_config.R_SUSPICIOUS_URL = { rspamd_config.BROKEN_HEADERS = { callback = function(task) - if task:has_flag('broken_headers') then - return true - end - - return false + return task:has_flag('broken_headers') end, - score = 1.0, + score = 10.0, group = 'header', description = 'Headers structure is likely broken' } @@ -760,5 +756,4 @@ local freemail_reply_neq_from_id = rspamd_config:register_symbol({ score = 3.0 }) rspamd_config:register_dependency(freemail_reply_neq_from_id, 'FREEMAIL_REPLYTO') -rspamd_config:register_dependency(freemail_reply_neq_from_id, 'FREEMAIL_FROM') - +rspamd_config:register_dependency(freemail_reply_neq_from_id, 'FREEMAIL_FROM')
\ No newline at end of file |