diff --git a/core/rspamd/conf/multimap.conf b/core/rspamd/conf/multimap.conf index dd25c08e..7592fee0 100644 --- a/core/rspamd/conf/multimap.conf +++ b/core/rspamd/conf/multimap.conf @@ -1,11 +1,15 @@ IS_LOCAL_DOMAIN_H { type = "selector" selector = "from('mime'):domain"; - map = "http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains"; + map = [ +"http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains", +"fallback+file:///dev/null"]; } IS_LOCAL_DOMAIN_E { type = "selector" selector = "from('smtp'):domain"; - map = "http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains"; + map = [ +"http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains", +"fallback+file:///dev/null"]; } diff --git a/core/rspamd/conf/whitelist.conf b/core/rspamd/conf/whitelist.conf index 56f8a83d..01efd80d 100644 --- a/core/rspamd/conf/whitelist.conf +++ b/core/rspamd/conf/whitelist.conf @@ -2,7 +2,7 @@ rules { BLACKLIST_ANTISPOOF = { valid_dmarc = true; blacklist = true; - domains = "http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains"; + domains = ["http://{{ ADMIN_ADDRESS }}/internal/rspamd/local_domains", "fallback+file:///dev/null"]; score = 0.0; } }