From: Andrew Lewis Date: Mon, 8 Feb 2021 21:24:39 +0000 (+0200) Subject: [Fix] RBL: was missing some config schema X-Git-Tag: 3.0~697^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3639%2Fhead;p=thirdparty%2Frspamd.git [Fix] RBL: was missing some config schema - Reported by slavko --- diff --git a/lualib/plugins/rbl.lua b/lualib/plugins/rbl.lua index 62f9ce9d8e..78f2c90642 100644 --- a/lualib/plugins/rbl.lua +++ b/lualib/plugins/rbl.lua @@ -111,6 +111,10 @@ local rule_schema_tbl = { rbl = ts.string, rdns = ts.boolean:is_optional(), received = ts.boolean:is_optional(), + received_flags = ts.array_of(ts.string):is_optional(), + received_max_pos = ts.number:is_optional(), + received_min_pos = ts.number:is_optional(), + received_nflags = ts.array_of(ts.string):is_optional(), replyto = ts.boolean:is_optional(), requests_limit = (ts.integer + ts.string / tonumber):is_optional(), require_symbols = (