From e4f459ef31aed15751edd9ae77f6183b7da3b7b4 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 17 Mar 2021 14:21:38 +0000 Subject: [Feature] Ppopagate monitored errors from rbl module --- src/plugins/lua/rbl.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins') diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index f476932b0..fcda1727f 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -228,6 +228,9 @@ local function rbl_dns_process(task, rbl, to_resolve, results, err, resolve_tabl rspamd_logger.infox(task, 'error looking up %s: %s', to_resolve, err) task:insert_result(rbl.symbol .. '_FAIL', 1, string.format('%s:%s', resolve_table_elt.orig, err)) + if rbl.monitored then + rbl.monitored:propagate_error(err) + end return end -- cgit v1.2.3