aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-09 14:43:54 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-10 23:11:02 +0000
commite8cc03398bf7b396d3e45558351bd952ac52bd58 (patch)
tree01e7de400bb331e506191b49369b2a5064e2c8b3
parent0599a124af1af62856de693522655ac18b4bbfb9 (diff)
downloadrspamd-e8cc03398bf7b396d3e45558351bd952ac52bd58.tar.gz
rspamd-e8cc03398bf7b396d3e45558351bd952ac52bd58.zip
Reduce weights for some hfilter patterns
-rw-r--r--src/plugins/lua/hfilter.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/hfilter.lua b/src/plugins/lua/hfilter.lua
index 9af6ec31f..1785e8a7b 100644
--- a/src/plugins/lua/hfilter.lua
+++ b/src/plugins/lua/hfilter.lua
@@ -34,7 +34,7 @@ local checks_hellohost = {
['[.-]dial-?up[.-]'] = 5, ['dial-?up[.-][0-9]'] = 5, ['[0-9][.-]?dial-?up'] = 5,
['[.-]dynamic[.-]'] = 5, ['dynamic[.-][0-9]'] = 5, ['[0-9][.-]?dynamic'] = 5,
['[.-]dyn[.-]'] = 5, ['dyn[.-][0-9]'] = 5, ['[0-9][.-]?dyn'] = 5,
- ['[.-]clients?[.-]'] = 5, ['clients?[.-][0-9]'] = 5, ['[0-9][.-]?clients?'] = 5,
+ ['[.-]clients?[.-]'] = 1, ['clients?[.-][0-9]{2,}'] = 5, ['[0-9]{3,}[.-]?clients?'] = 5,
['[.-]dynip[.-]'] = 5, ['dynip[.-][0-9]'] = 5, ['[0-9][.-]?dynip'] = 5,
['[.-]broadband[.-]'] = 5, ['broadband[.-][0-9]'] = 5, ['[0-9][.-]?broadband'] = 5,
['[.-]broad[.-]'] = 5, ['broad[.-][0-9]'] = 5, ['[0-9][.-]?broad'] = 5,