commit b03e54c: [Conf] Add path to greylist-whitelist-domains.inc
moisseev
moiseev at mezonplus.ru
Fri Sep 20 08:56:06 UTC 2019
Author: moisseev
Date: 2019-09-20 10:45:01 +0300
URL: https://github.com/rspamd/rspamd/commit/b03e54cb44383797c3a0f087b5bff5ad305f64a3 (refs/pull/3045/head)
[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",
More information about the Commits
mailing list