[Rspamd] Adjust alias resolver prefilter prio

master
andryyy 2020-10-16 18:39:22 +02:00
parent 0c30d32fdb
commit f8291d1967
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
2 changed files with 5 additions and 5 deletions

View File

@ -1,13 +1,13 @@
RCPT_MAILCOW_DOMAIN { RCPT_MAILCOW_DOMAIN {
type = "selector"; type = "rcpt";
selector = "rcpts:domain.get_tld"; filter = "email:domain";
map = "redis://DOMAIN_MAP"; map = "redis://DOMAIN_MAP";
symbols_set = ["RCPT_MAILCOW_DOMAIN"]; symbols_set = ["RCPT_MAILCOW_DOMAIN"];
} }
RCPT_WANTS_SUBJECT_TAG { RCPT_WANTS_SUBJECT_TAG {
type = "selector"; type = "rcpt";
selector = "rcpts('smtp', 'orig'):addr"; filter = "email:addr";
map = "redis://RCPT_WANTS_SUBJECT_TAG"; map = "redis://RCPT_WANTS_SUBJECT_TAG";
symbols_set = ["RCPT_WANTS_SUBJECT_TAG"]; symbols_set = ["RCPT_WANTS_SUBJECT_TAG"];
} }

View File

@ -119,7 +119,7 @@ rspamd_config:register_symbol({
end end
end, end,
priority = 1 priority = 19
}) })
rspamd_config:register_symbol({ rspamd_config:register_symbol({