diff options
Diffstat (limited to 'src/plugins/lua/dmarc.lua')
-rw-r--r-- | src/plugins/lua/dmarc.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/lua/dmarc.lua b/src/plugins/lua/dmarc.lua index fc85c4766..8d04c4fbb 100644 --- a/src/plugins/lua/dmarc.lua +++ b/src/plugins/lua/dmarc.lua @@ -328,6 +328,11 @@ if not opts or type(opts) ~= 'table' then return end +if opts['enabled'] == false then + rspamd_logger.info('Module is disabled') + return +end + if opts['symbols'] then for k,_ in pairs(dmarc_symbols) do if opts['symbols'][k] then |