From 68d3c2f3f31e24816f55d0c7e3838e199da1a9e0 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Mon, 5 Sep 2016 08:48:00 +0200 Subject: Revert "[Feature] Add common way to disable Lua modules" This reverts commit f552edd887794a5086dcf93d36f8f82d83553196. Conflicts: src/plugins/lua/antivirus.lua src/plugins/lua/asn.lua src/plugins/lua/dcc.lua src/plugins/lua/dmarc.lua src/plugins/lua/emails.lua src/plugins/lua/forged_recipients.lua src/plugins/lua/greylist.lua src/plugins/lua/hfilter.lua src/plugins/lua/ip_score.lua src/plugins/lua/maillist.lua src/plugins/lua/mime_types.lua src/plugins/lua/multimap.lua src/plugins/lua/once_received.lua src/plugins/lua/ratelimit.lua src/plugins/lua/rbl.lua src/plugins/lua/replies.lua src/plugins/lua/rspamd_update.lua src/plugins/lua/trie.lua src/plugins/lua/whitelist.lua --- src/plugins/lua/forged_recipients.lua | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/plugins/lua/forged_recipients.lua') diff --git a/src/plugins/lua/forged_recipients.lua b/src/plugins/lua/forged_recipients.lua index 4c52295b9..957491a56 100644 --- a/src/plugins/lua/forged_recipients.lua +++ b/src/plugins/lua/forged_recipients.lua @@ -72,10 +72,6 @@ end -- Configuration local opts = rspamd_config:get_all_opt('forged_recipients') if opts then - if opts['enabled'] == false then - logger.infox(rspamd_config, 'Module is disabled') - return - end if opts['symbol_rcpt'] or opts['symbol_sender'] then local id = rspamd_config:register_symbol({ callback = check_forged_headers, -- cgit v1.2.3