[Rspamd] Resolve direct aliases (also fixes tagging options)

This commit is contained in:
andryyy
2020-10-16 18:27:19 +02:00
parent 630c894229
commit 0c30d32fdb
3 changed files with 212 additions and 4 deletions

View File

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