aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-03-06 14:26:54 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-03-06 14:26:54 +0000
commit50c9739bdce4b28bd9f21380f3db6766aec37af9 (patch)
tree687490f08ab1d08d4f5bfaccc0ff38522bce5ec5 /src
parent7c8e6dfa580ce18f905ffe4e08e4b3e55341024e (diff)
downloadrspamd-50c9739bdce4b28bd9f21380f3db6766aec37af9.tar.gz
rspamd-50c9739bdce4b28bd9f21380f3db6766aec37af9.zip
[Conf] Add replies config
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/replies.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/lua/replies.lua b/src/plugins/lua/replies.lua
index b9876290b..b8f60288b 100644
--- a/src/plugins/lua/replies.lua
+++ b/src/plugins/lua/replies.lua
@@ -25,6 +25,7 @@ local settings = {
key_prefix = 'rr',
message = 'Message is reply to one we originated',
symbol = 'REPLY',
+ score = -2, -- Default score
}
local rspamd_logger = require 'rspamd_logger'
@@ -136,7 +137,8 @@ if opts then
rspamd_config:register_symbol({
name = settings['symbol'],
parent = id,
- type = 'virtual'
+ type = 'virtual',
+ score = settings.score,
})
end