diff options
author | moisseev <moiseev@mezonplus.ru> | 2019-09-20 10:45:01 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2019-09-20 10:45:01 +0300 |
commit | b03e54cb44383797c3a0f087b5bff5ad305f64a3 (patch) | |
tree | c981a76f2cecc9b92e5f621cb1c3ba2b40e55f9f | |
parent | 5bc4486b96fb515269d8c13fa53c1ae23579f272 (diff) | |
download | rspamd-b03e54cb44383797c3a0f087b5bff5ad305f64a3.tar.gz rspamd-b03e54cb44383797c3a0f087b5bff5ad305f64a3.zip |
[Conf] Add path to greylist-whitelist-domains.inc
-rw-r--r-- | conf/modules.d/greylist.conf | 1 | ||||
-rw-r--r-- | src/plugins/lua/greylist.lua | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/conf/modules.d/greylist.conf b/conf/modules.d/greylist.conf index 70c5a642c..f12a228d2 100644 --- a/conf/modules.d/greylist.conf +++ b/conf/modules.d/greylist.conf @@ -17,6 +17,7 @@ greylist { # Search "example.com" and "mail.example.com" for "mx.out.mail.example.com": whitelist_domains_url = [ "$LOCAL_CONFDIR/local.d/greylist-whitelist-domains.inc", + "$LOCAL_CONFDIR/local.d/maps.d/greylist-whitelist-domains.inc", ]; expire = 1d; # 1 day by default diff --git a/src/plugins/lua/greylist.lua b/src/plugins/lua/greylist.lua index a0a09ce46..3c6335ea1 100644 --- a/src/plugins/lua/greylist.lua +++ b/src/plugins/lua/greylist.lua @@ -20,7 +20,7 @@ Example domains whitelist config: greylist { # Search "example.com" and "mail.example.com" for "mx.out.mail.example.com": whitelist_domains_url = [ - "$LOCAL_CONFDIR/local.d/greylist-whitelist-domains.inc", + "$LOCAL_CONFDIR/local.d/maps.d/greylist-whitelist-domains.inc", "${CONFDIR}/maps.d/maillist.inc", "${CONFDIR}/maps.d/redirectors.inc", "${CONFDIR}/maps.d/dmarc_whitelist.inc", |