aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/modules.d/mid.conf10
-rw-r--r--src/plugins/lua/mid.lua2
2 files changed, 7 insertions, 5 deletions
diff --git a/conf/modules.d/mid.conf b/conf/modules.d/mid.conf
index 36639790a..db1a5dafb 100644
--- a/conf/modules.d/mid.conf
+++ b/conf/modules.d/mid.conf
@@ -14,10 +14,12 @@
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
mid = {
- url = [
- "${CONFDIR}/mid.inc",
- "$LOCAL_CONFDIR/local.d/mid.inc"
- ];
+ source = {
+ url = [
+ "${CONFDIR}/mid.inc",
+ "$LOCAL_CONFDIR/local.d/mid.inc"
+ ];
+ }
.include(try=true,priority=5) "${DBDIR}/dynamic/mid.conf"
.include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/mid.conf"
diff --git a/src/plugins/lua/mid.lua b/src/plugins/lua/mid.lua
index aad626fe6..8c4757880 100644
--- a/src/plugins/lua/mid.lua
+++ b/src/plugins/lua/mid.lua
@@ -66,7 +66,7 @@ if opts then
settings[k] = v
end
- map = rspamd_map_add('mid', 'url', 'map', 'Message-IDs map')
+ map = rspamd_map_add('mid', 'source', 'map', 'Message-IDs map')
if map then
local id = rspamd_config:register_symbol({
name = 'KNOWN_MID_CALLBACK',