commit 5adc48b: [Minor] Fix typo in hfilter map

moisseev moiseev at mezonplus.ru
Mon Jul 29 17:50:45 UTC 2024


Author: moisseev
Date: 2023-12-24 14:20:58 +0300
URL: https://github.com/rspamd/rspamd/commit/5adc48b7473dd0c94a1ac74c0230b55017842657 (refs/pull/4759/head)

[Minor] Fix typo in hfilter map

---
 src/plugins/lua/hfilter.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/plugins/lua/hfilter.lua b/src/plugins/lua/hfilter.lua
index 601786f33..8c132f504 100644
--- a/src/plugins/lua/hfilter.lua
+++ b/src/plugins/lua/hfilter.lua
@@ -137,7 +137,7 @@ local checks_hellohost_map
 local checks_hello = [[
 /^[^\.]+$/i 5 # for helo=COMPUTER, ANNA, etc... Without dot in helo
 /^(dsl)?(device|speedtouch)\.lan$/i 5
-/\.(lan|local|home|localdomain|intra|in-addr.arpa|priv|user|veloxzon)$ 5
+/\.(lan|local|home|localdomain|intra|in-addr.arpa|priv|user|veloxzon)$/i 5
 ]]
 local checks_hello_map
 
@@ -619,4 +619,4 @@ if #symbols_enabled > 0 then
   end
 else
   lua_util.disable_module(N, "config")
-end
\ No newline at end of file
+end


More information about the Commits mailing list