commit f6611ef: [Fix] RBL: was missing some config schema
Andrew Lewis
nerf at judo.za.org
Mon Feb 8 21:42:06 UTC 2021
Author: Andrew Lewis
Date: 2021-02-08 23:24:39 +0200
URL: https://github.com/rspamd/rspamd/commit/f6611efea498d90a4b15048ce5dcb613fcb0a0ed (refs/pull/3639/head)
[Fix] RBL: was missing some config schema
- Reported by slavko
---
lualib/plugins/rbl.lua | 4 ++++
1 file changed, 4 insertions(+)
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 = (
More information about the Commits
mailing list