summaryrefslogtreecommitdiffstats
path: root/rules/regexp
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-16 12:07:42 +0100
committerGitHub <noreply@github.com>2019-04-16 12:07:42 +0100
commite6e72472adf972a2dfe57c505ee892776409d042 (patch)
tree6ae3c26a0dde6950e0c3b51fa749334097d1442c /rules/regexp
parent4735fd1a285a8d34327adc063ef4b272a32fa5df (diff)
parent7a1a11ccc53358fce6ffc84e74a864245eb94c95 (diff)
downloadrspamd-e6e72472adf972a2dfe57c505ee892776409d042.tar.gz
rspamd-e6e72472adf972a2dfe57c505ee892776409d042.zip
Merge pull request #2850 from heraklit256/rule-descr-cleanup
[Minor] unify rule scores and weights and improve descriptions
Diffstat (limited to 'rules/regexp')
-rw-r--r--rules/regexp/upstream_spam_filters.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/rules/regexp/upstream_spam_filters.lua b/rules/regexp/upstream_spam_filters.lua
index 4c457428a..8ba6ea057 100644
--- a/rules/regexp/upstream_spam_filters.lua
+++ b/rules/regexp/upstream_spam_filters.lua
@@ -28,21 +28,21 @@ reconf['PRECEDENCE_BULK'] = {
reconf['MICROSOFT_SPAM'] = {
-- https://technet.microsoft.com/en-us/library/dn205071(v=exchg.150).aspx
re = 'X-Forefront-Antispam-Report=/SFV:SPM/H',
- score = 4,
+ score = 4.0,
description = "Microsoft says the message is spam",
group = 'upstream_spam_filters'
}
reconf['AOL_SPAM'] = {
re = 'X-AOL-Global-Disposition=/^S/H',
- score = 5,
+ score = 5.0,
description = "AOL says this message is spam",
group = 'upstream_spam_filters'
}
reconf['KLMS_SPAM'] = {
re = 'X-KLMS-AntiSpam-Status=/^spam/H',
- score = 5,
+ score = 5.0,
description = "Kaspersky Security for Mail Server says this message is spam",
group = 'upstream_spam_filters'
}
@@ -52,14 +52,14 @@ reconf['SPAM_FLAG'] = {
'X-Spam-Flag=/^(?:yes|true)/Hi',
'X-Spam=/^(?:yes|true)/Hi',
'X-Spam-Status=/^(?:yes|true)/Hi'),
- score = 5,
+ score = 5.0,
description = "Message was already marked as spam",
group = 'upstream_spam_filters'
}
reconf['UNITEDINTERNET_SPAM'] = {
re = 'X-UI-Out-Filterresults=/^junk:/H',
- score = 5,
+ score = 5.0,
description = "United Internet says this message is spam",
group = 'upstream_spam_filters'
}