From: Vsevolod Stakhov Date: Tue, 9 Feb 2016 14:43:54 +0000 (+0000) Subject: Reduce weights for some hfilter patterns X-Git-Tag: 1.2.0~274 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f7ec728dc56abf1a8527684ce214018befb58098;p=rspamd.git Reduce weights for some hfilter patterns --- 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,