flags = 'empty,nice'
})
+local is_monitored = {}
for key,rbl in pairs(opts['rbls']) do
(function()
if rbl['disabled'] then return end
end
end
if rbl['rbl'] then
- if not rbl['disable_monitoring'] and not rbl['is_whitelist'] then
+ if not rbl['disable_monitoring'] and not rbl['is_whitelist'] and not is_monitored[rbl['rbl']] then
+ is_monitored[rbl['rbl']] = true
rbl.monitored = rspamd_config:register_monitored(rbl['rbl'], 'dns',
{
rcode = 'nxdomain',