diff options
author | Andrew Lewis <nerf@judo.za.org> | 2021-02-08 23:24:39 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2021-02-08 23:27:25 +0200 |
commit | f6611efea498d90a4b15048ce5dcb613fcb0a0ed (patch) | |
tree | 75e0f789ceba7afd4e0657a360f549d435a6d71e /lualib/plugins | |
parent | eeff970aa977cda389cf93a04fdb95d5be5ac1eb (diff) | |
download | rspamd-f6611efea498d90a4b15048ce5dcb613fcb0a0ed.tar.gz rspamd-f6611efea498d90a4b15048ce5dcb613fcb0a0ed.zip |
[Fix] RBL: was missing some config schema
- Reported by slavko
Diffstat (limited to 'lualib/plugins')
-rw-r--r-- | lualib/plugins/rbl.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lualib/plugins/rbl.lua b/lualib/plugins/rbl.lua index 62f9ce9d8..78f2c9064 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 = ( |