commit e66fc75: [Minor] Set negative default scores

moisseev moiseev at mezonplus.ru
Mon Jul 29 17:57:48 UTC 2024


Author: moisseev
Date: 2024-06-06 09:49:06 +0300
URL: https://github.com/rspamd/rspamd/commit/e66fc75e6217ca01ebd4876cff11f39dadf09586 (refs/pull/5006/head)

[Minor] Set negative default scores
for known senders

---
 src/plugins/lua/known_senders.lua | 4 ++--
 1 file 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


More information about the Commits mailing list