From: Alexander Moisseev Date: Thu, 23 Jan 2020 06:39:47 +0000 (+0300) Subject: [Minor] Fix spamtrap score X-Git-Tag: 2.3~60^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F3231%2Fhead;p=rspamd.git [Minor] Fix spamtrap score Issue #3162 --- diff --git a/src/plugins/lua/spamtrap.lua b/src/plugins/lua/spamtrap.lua index ab39b42e6..4b03b1739 100644 --- a/src/plugins/lua/spamtrap.lua +++ b/src/plugins/lua/spamtrap.lua @@ -58,9 +58,7 @@ local function spamtrap_cb(task) if settings['learn_spam'] then task:set_flag("learn_spam") end - task:insert_result(settings['symbol'], - settings['score'], - rcpt) + task:insert_result(settings['symbol'], 1, rcpt) if settings['action'] then rspamd_logger.infox(task, 'spamtrap found: <%s>', rcpt)