summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-08-29 13:49:38 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-08-29 13:49:38 +0100
commit9162a5922e714070c5e1483e7aedf3c1728e61c9 (patch)
tree856715d2d37c30a9a51c4fec2a88b9b65683317d /src
parentfb43ff309cad5f01a99941d413ba1e91e60aa0ed (diff)
downloadrspamd-9162a5922e714070c5e1483e7aedf3c1728e61c9.tar.gz
rspamd-9162a5922e714070c5e1483e7aedf3c1728e61c9.zip
[Minor] Rbl: Support images urls
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/rbl.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index 4f6bae83f..512a3ae10 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -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)