]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Rbl: Support images urls
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 29 Aug 2019 12:49:38 +0000 (13:49 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 29 Aug 2019 12:49:38 +0000 (13:49 +0100)
src/plugins/lua/rbl.lua

index 4f6bae83fdc88be781a424fff77f0f56aa55db14..512a3ae1041b4601e8a4229561fec1b733ba2f82 100644 (file)
@@ -483,9 +483,10 @@ local function gen_rbl_callback(rule)
       limit = rule.requests_limit,
       ignore_redirected = true,
       ignore_ip = rule.no_ip,
+      need_images = rule.images,
       need_emails = false,
       esld_limit = 1,
-      prefix = 'rbl_url'
+      no_cache = true,
     }
 
     local urls = lua_util.extract_specific_urls(ex_params)