diff options
-rw-r--r-- | src/plugins/lua/ratelimit.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/lua/ratelimit.lua b/src/plugins/lua/ratelimit.lua index d70516517..38405c4c2 100644 --- a/src/plugins/lua/ratelimit.lua +++ b/src/plugins/lua/ratelimit.lua @@ -29,8 +29,6 @@ local settings = { bounce_senders = { 'postmaster', 'mailer-daemon', '', 'null', 'fetchmail-daemon', 'mdaemon' }, -- Do not check ratelimits for these recipients whitelisted_rcpts = { 'postmaster', 'mailer-daemon' }, - whitelisted_ip = {}, - whitelisted_user = {}, prefix = 'RL', ham_factor_rate = 1.01, spam_factor_rate = 0.99, @@ -514,7 +512,7 @@ if opts then else -- Stupid default... settings.whitelisted_rcpts = lua_maps.rspamd_map_add_from_ucl( - opts.whitelisted_rcpts, 'set', 'Ratelimit whitelisted rcpts') + settings.whitelisted_rcpts, 'set', 'Ratelimit whitelisted rcpts') end if opts['whitelisted_ip'] then |