From: Vsevolod Stakhov Date: Tue, 5 May 2020 14:50:23 +0000 (+0100) Subject: [Minor] Rbl: Add `content_urls` attribute X-Git-Tag: 2.6~447 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0b270ee8b4fc5f3f2133617b9b351b73188f6616;p=rspamd.git [Minor] Rbl: Add `content_urls` attribute --- diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index 73bddfdc9..5e05bf1d4 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -509,6 +509,7 @@ local function gen_rbl_callback(rule) ignore_ip = rule.no_ip, need_images = rule.images, need_emails = false, + need_content = rule.content_urls or false, esld_limit = esld_lim, no_cache = true, } @@ -1155,6 +1156,7 @@ local rule_schema_tbl = { process_script = ts.string:is_optional(), emails_delimiter = ts.string:is_optional(), ignore_defaults = ts.boolean:is_optional(), + content_urls = ts.boolean:is_optional(), disable_monitoring = ts.boolean:is_optional(), symbols_prefixes = ts.map_of(ts.string, ts.string):is_optional(), }