diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-09 17:33:30 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-01-09 17:33:30 +0000 |
commit | 9a037c9aad08e0ecc7232b1879d5d80a34e55dba (patch) | |
tree | 9c156f713848ac94c855345712920f1bc999e92e /conf/modules.d/whitelist.conf | |
parent | 0e0491025bc0ddd4f9e907162b59d3f5fed847d0 (diff) | |
download | rspamd-9a037c9aad08e0ecc7232b1879d5d80a34e55dba.tar.gz rspamd-9a037c9aad08e0ecc7232b1879d5d80a34e55dba.zip |
[Conf] Allow to edit all local maps from WebUI by default
Diffstat (limited to 'conf/modules.d/whitelist.conf')
-rw-r--r-- | conf/modules.d/whitelist.conf | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/conf/modules.d/whitelist.conf b/conf/modules.d/whitelist.conf index b8637ed79..de8b9b516 100644 --- a/conf/modules.d/whitelist.conf +++ b/conf/modules.d/whitelist.conf @@ -17,27 +17,39 @@ whitelist { rules { "WHITELIST_SPF" = { valid_spf = true; - domains = "${CONFDIR}/spf_whitelist.inc"; + domains = [ + "${CONFDIR}/spf_whitelist.inc", + "${DBDIR}/spf_whitelist.inc.local", + ]; score = -1.0 description = "Mail comes from the whitelisted domain and has a valid SPF policy"; } "WHITELIST_DKIM" = { valid_dkim = true; - domains = "${CONFDIR}/dkim_whitelist.inc"; + domains = [ + "${CONFDIR}/dkim_whitelist.inc", + "${DBDIR}/dkim_whitelist.inc.local", + ]; description = "Mail comes from the whitelisted domain and has a valid DKIM signature"; score = -1.0 } "WHITELIST_SPF_DKIM" = { valid_spf = true; valid_dkim = true; - domains = "${CONFDIR}/spf_dkim_whitelist.inc"; + domains = [ + "${CONFDIR}/spf_dkim_whitelist.inc", + "${DBDIR}/spf_dkim_whitelist.inc.local", + ]; score = -3.0; description = "Mail comes from the whitelisted domain and has valid SPF and DKIM policies"; } "WHITELIST_DMARC" = { valid_dmarc = true; - domains = "${CONFDIR}/dmarc_whitelist.inc"; + domains = [ + "${CONFDIR}/dmarc_whitelist.inc", + "${DBDIR}/dmarc_whitelist.inc.local", + ]; score = -7.0; description = "Mail comes from the whitelisted domain and has valid DMARC and DKIM policies"; } |