aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-06-06 13:41:30 +0600
committerGitHub <noreply@github.com>2024-06-06 13:41:30 +0600
commitd9c1782a8c2b8cbd395d40534e7f398d71938412 (patch)
treeefe44035b54a4ddbf32eb20f4635159a348b51a8
parent758e2d3baa20c02106e60a49df881048caf932cc (diff)
parente66fc75e6217ca01ebd4876cff11f39dadf09586 (diff)
downloadrspamd-d9c1782a8c2b8cbd395d40534e7f398d71938412.tar.gz
rspamd-d9c1782a8c2b8cbd395d40534e7f398d71938412.zip
Merge pull request #5006 from moisseev/replies
[Minor] Set negative default scores
-rw-r--r--src/plugins/lua/known_senders.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/known_senders.lua b/src/plugins/lua/known_senders.lua
index 64a28059e..d4e966908 100644
--- a/src/plugins/lua/known_senders.lua
+++ b/src/plugins/lua/known_senders.lua
@@ -364,14 +364,14 @@ if opts then
name = settings.symbol_check_mail_local,
type = 'normal',
callback = verify_local_replies_set,
- score = 1.0
+ score = -1.0
})
rspamd_config:register_symbol({
name = settings.symbol_check_mail_global,
type = 'normal',
callback = check_known_incoming_mail_callback,
- score = 1.0
+ score = -1.0
})
if settings.symbol_unknown and #settings.symbol_unknown > 0 then