From b03e54cb44383797c3a0f087b5bff5ad305f64a3 Mon Sep 17 00:00:00 2001 From: moisseev Date: Fri, 20 Sep 2019 10:45:01 +0300 Subject: [PATCH] [Conf] Add path to greylist-whitelist-domains.inc --- conf/modules.d/greylist.conf | 1 + src/plugins/lua/greylist.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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", -- 2.39.5