Deleted two http maps, replaced by redis multimaps, much better tag system
This commit is contained in:
@@ -27,4 +27,4 @@ use_redis = true;
|
||||
# Hash for DKIM keys in Redis
|
||||
key_prefix = "DKIM_PRIV_KEYS";
|
||||
# Selector map
|
||||
selector_map = "redis://DKIM_SELECTORS";
|
||||
selector_prefix = "DKIM_SELECTORS";
|
||||
|
11
data/conf/rspamd/local.d/multimap.conf
Normal file
11
data/conf/rspamd/local.d/multimap.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
RCPT_MAILCOW_DOMAIN {
|
||||
type = "rcpt";
|
||||
filter = "email:domain"
|
||||
map = "redis://DOMAIN_MAP"
|
||||
}
|
||||
|
||||
RCPT_WANTS_SUBJECT_TAG {
|
||||
type = "rcpt";
|
||||
filter = "email:addr"
|
||||
map = "redis://RCPT_WANTS_SUBJECT_TAG"
|
||||
}
|
Reference in New Issue
Block a user