summaryrefslogtreecommitdiffstats
path: root/rules/misc.lua
diff options
context:
space:
mode:
authorheraklit256 <heraklit256@users.noreply.github.com>2019-03-05 17:17:53 +0100
committerheraklit256 <heraklit256@users.noreply.github.com>2019-03-05 17:17:53 +0100
commit323580e25d9eb599d31c666c79d2c8ec8bfc41a4 (patch)
tree6c80b7715893695ead36bd7f21323ecb5d3e65c2 /rules/misc.lua
parent46de8e9f6e51dc44623f253f6a5fe9ecad3dc554 (diff)
downloadrspamd-323580e25d9eb599d31c666c79d2c8ec8bfc41a4.tar.gz
rspamd-323580e25d9eb599d31c666c79d2c8ec8bfc41a4.zip
unify rules scores and weights
Diffstat (limited to 'rules/misc.lua')
-rw-r--r--rules/misc.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/rules/misc.lua b/rules/misc.lua
index 1cc7bfc22..03aa5a3a9 100644
--- a/rules/misc.lua
+++ b/rules/misc.lua
@@ -503,7 +503,7 @@ rspamd_config:register_symbol{
name = 'TAGGED_RCPT',
description = 'SMTP recipients have plus tags',
group = 'headers',
- score = 0,
+ score = 0.0,
}
rspamd_config:register_symbol{
type = 'virtual',
@@ -511,7 +511,7 @@ rspamd_config:register_symbol{
name = 'TAGGED_FROM',
description = 'SMTP from has plus tags',
group = 'headers',
- score = 0,
+ score = 0.0,
}
local check_from_display_name = rspamd_config:register_symbol{
@@ -560,7 +560,7 @@ rspamd_config:register_symbol{
name = 'SPOOF_DISPLAY_NAME',
description = 'Display name is being used to spoof and trick the recipient',
group = 'headers',
- score = 8,
+ score = 8.0,
}
rspamd_config:register_symbol{
@@ -569,7 +569,7 @@ rspamd_config:register_symbol{
name = 'FROM_NEQ_DISPLAY_NAME',
group = 'headers',
description = 'Display name contains an email address different to the From address',
- score = 4,
+ score = 4.0,
}
rspamd_config.SPOOF_REPLYTO = {