# 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"
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',