From: moisseev Date: Fri, 20 Sep 2019 07:45:01 +0000 (+0300) Subject: [Conf] Add path to greylist-whitelist-domains.inc X-Git-Tag: 2.0~168^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b03e54cb44383797c3a0f087b5bff5ad305f64a3;p=rspamd.git [Conf] Add path to greylist-whitelist-domains.inc --- 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",