]> source.dussan.org Git - rspamd.git/commitdiff
Update hfilter.lua 169/head
authorAlexey AL <AlexeySa@users.noreply.github.com>
Sat, 14 Feb 2015 13:27:51 +0000 (16:27 +0300)
committerAlexey AL <AlexeySa@users.noreply.github.com>
Sat, 14 Feb 2015 13:27:51 +0000 (16:27 +0300)
conf/lua/hfilter.lua

index 316a988ded5c0a6aa5b00f9aeeb6fd55a40dd5f6..ed3a346e500e02daf562761b137ef1c5300882f6 100644 (file)
@@ -75,7 +75,7 @@ local checks_hello = {
   ['^[^\\.]+$'] = 5, -- for helo=COMPUTER, ANNA, etc... Without dot in helo
   ['localhost$'] = 5,
   ['^(dsl)?(device|speedtouch)\\.lan$'] = 5,
-  ['\\.(lan|local|home|localdomain|intra|in-addr.arpa|priv|online|user|veloxzon)$'] = 5,
+  ['\\.(lan|local|home|localdomain|intra|in-addr.arpa|priv|online|user|veloxzon)$'] = 5
 }
 
 local checks_hello_badip = {
@@ -90,12 +90,12 @@ local checks_hello_badip = {
   ['^192\\.0\\.2\\.'] = 5, ['^198\\.51\\.100\\.'] = 5, ['^203\\.0\\.113\\.'] = 5,  --sample
   ['^fe[89ab][0-9a-f]::'] = 5, ['^fe[cdf][0-9a-f]:'] = 5, --local ipv6 (fe80:: - febf::, fec0:: - feff::)
   ['^2001:db8::'] = 5, --reserved RFC 3849 for ipv6
-  ['^fc00::'] = 5, ['^ffxx::'] = 5, --unicast, multicast ipv6
+  ['^fc00::'] = 5, ['^ffxx::'] = 5 --unicast, multicast ipv6
 }
 
 local checks_hello_bareip = {
   '^\\d+[x.-]\\d+[x.-]\\d+[x.-]\\d+$', --bareip ipv4, 
-  '^[0-9a-f]+:', --bareip ipv6
+  '^[0-9a-f]+:' --bareip ipv6
 }
 
 local config = {