From: Vsevolod Stakhov Date: Fri, 17 May 2019 11:35:06 +0000 (+0100) Subject: [Rework] Reputation: Slashing - change name of symbols X-Git-Tag: 2.0~897 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c912d5d7daaf3ba8c4d419b5f32138077dea980a;p=thirdparty%2Frspamd.git [Rework] Reputation: Slashing - change name of symbols --- diff --git a/src/plugins/lua/reputation.lua b/src/plugins/lua/reputation.lua index ebfe2c04e4..06fda45a67 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,