From: Vsevolod Stakhov Date: Wed, 15 Mar 2017 18:34:50 +0000 (+0000) Subject: [Minor] Use regexps for greylist whitelist X-Git-Tag: 1.5.3~18 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c9064c6d065f11fe75508b5f80e608cb947f139e;p=rspamd.git [Minor] Use regexps for greylist whitelist --- diff --git a/src/plugins/lua/greylist.lua b/src/plugins/lua/greylist.lua index 1cb94b6aa..407652b6e 100644 --- a/src/plugins/lua/greylist.lua +++ b/src/plugins/lua/greylist.lua @@ -378,7 +378,7 @@ if opts then whitelisted_ip = rspamd_map_add('greylist', 'whitelisted_ip', 'radix', 'Greylist whitelist ip map') whitelist_domains_map = rspamd_map_add('greylist', 'whitelist_domains_url', - 'map', 'Greylist whitelist domains map') + 'regexp', 'Greylist whitelist domains map') redis_params = rspamd_parse_redis_server('greylist') if not redis_params then