commit b8a931e: [Minor] Rbl: Allow to change monitored_address
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu Jul 25 20:35:05 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-07-25 21:27:48 +0100
URL: https://github.com/rspamd/rspamd/commit/b8a931eda4a0d90e7ebb92870c4eededd04825ab (HEAD -> master)
[Minor] Rbl: Allow to change monitored_address
---
src/plugins/lua/rbl.lua | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index 70339fd85..677496fa8 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -530,6 +530,7 @@ local rule_schema = ts.shape({
hash = ts.one_of{"sha1", "sha256", "sha384", "sha512", "md5", "blake2"}:is_optional(),
hash_format = ts.one_of{"hex", "base32", "base64"}:is_optional(),
hash_len = (ts.integer + ts.string / tonumber):is_optional(),
+ monitored_address = ts.string:is_optional(),
}, {
extra_fields = ts.map_of(ts.string, ts.boolean)
})
More information about the Commits
mailing list