diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-15 18:34:50 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-15 18:35:16 +0000 |
commit | c9064c6d065f11fe75508b5f80e608cb947f139e (patch) | |
tree | 500121f6035cbbd65cd21ebd02bd9b6f695bcb35 /src/plugins/lua/greylist.lua | |
parent | dae3d696aa1d8092c570e65d815e7c8f0a137f76 (diff) | |
download | rspamd-c9064c6d065f11fe75508b5f80e608cb947f139e.tar.gz rspamd-c9064c6d065f11fe75508b5f80e608cb947f139e.zip |
[Minor] Use regexps for greylist whitelist
Diffstat (limited to 'src/plugins/lua/greylist.lua')
-rw-r--r-- | src/plugins/lua/greylist.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |