From c912d5d7daaf3ba8c4d419b5f32138077dea980a Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 17 May 2019 12:35:06 +0100 Subject: [PATCH] [Rework] Reputation: Slashing - change name of symbols --- src/plugins/lua/reputation.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/plugins/lua/reputation.lua b/src/plugins/lua/reputation.lua index ebfe2c04e..06fda45a6 100644 --- a/src/plugins/lua/reputation.lua +++ b/src/plugins/lua/reputation.lua @@ -501,7 +501,8 @@ local ip_selector = { ['country'] = 0.01, ['ip'] = 1.0 }, - symbol = 'IP_SCORE', -- symbol to be inserted + symbol_spam = 'SENDER_REP', -- symbol to be inserted + split_symbols = true, asn_prefix = 'a:', -- prefix for ASN hashes country_prefix = 'c:', -- prefix for country hashes ip_prefix = 'i:', @@ -564,7 +565,8 @@ end local spf_selector = { config = { - symbol = 'SPF_SCORE', -- symbol to be inserted + symbol = 'SPF_REP', -- symbol to be inserted + split_symbols = true, lower_bound = 10, -- minimum number of messages to be scored min_score = nil, max_score = nil, @@ -692,6 +694,7 @@ local generic_selector = { local selectors = { ip = ip_selector, + sender = ip_selector, -- Better name url = url_selector, dkim = dkim_selector, spf = spf_selector, -- 2.39.5