diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-05-05 15:50:23 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-05-05 15:50:23 +0100 |
commit | 0b270ee8b4fc5f3f2133617b9b351b73188f6616 (patch) | |
tree | 2060b5e9c9265ae9166d92e0e70074399f31fff3 /src | |
parent | f3423dd01487a6ac22512cf874368d76d47139f8 (diff) | |
download | rspamd-0b270ee8b4fc5f3f2133617b9b351b73188f6616.tar.gz rspamd-0b270ee8b4fc5f3f2133617b9b351b73188f6616.zip |
[Minor] Rbl: Add `content_urls` attribute
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/lua/rbl.lua | 2 |
1 files changed, 2 insertions, 0 deletions
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(), } |