diff --git a/data/conf/rspamd/local.d/multimap.conf b/data/conf/rspamd/local.d/multimap.conf index 9bb9df139..36ebfef7c 100644 --- a/data/conf/rspamd/local.d/multimap.conf +++ b/data/conf/rspamd/local.d/multimap.conf @@ -1,13 +1,13 @@ RCPT_MAILCOW_DOMAIN { - type = "selector"; - selector = "rcpts:domain.get_tld"; + type = "rcpt"; + filter = "email:domain"; map = "redis://DOMAIN_MAP"; symbols_set = ["RCPT_MAILCOW_DOMAIN"]; } RCPT_WANTS_SUBJECT_TAG { - type = "selector"; - selector = "rcpts('smtp', 'orig'):addr"; + type = "rcpt"; + filter = "email:addr"; map = "redis://RCPT_WANTS_SUBJECT_TAG"; symbols_set = ["RCPT_WANTS_SUBJECT_TAG"]; } diff --git a/data/conf/rspamd/lua/rspamd.local.lua b/data/conf/rspamd/lua/rspamd.local.lua index 9b6157d42..e42fa78ac 100644 --- a/data/conf/rspamd/lua/rspamd.local.lua +++ b/data/conf/rspamd/lua/rspamd.local.lua @@ -119,7 +119,7 @@ rspamd_config:register_symbol({ end end, - priority = 1 + priority = 19 }) rspamd_config:register_symbol({