[Rspamd] Adjust alias resolver prefilter prio
parent
0c30d32fdb
commit
f8291d1967
|
@ -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"];
|
||||||
}
|
}
|
||||||
|
|
|
@ -119,7 +119,7 @@ rspamd_config:register_symbol({
|
||||||
end
|
end
|
||||||
|
|
||||||
end,
|
end,
|
||||||
priority = 1
|
priority = 19
|
||||||
})
|
})
|
||||||
|
|
||||||
rspamd_config:register_symbol({
|
rspamd_config:register_symbol({
|
||||||
|
|
Loading…
Reference in New Issue