[Rspamd-Users] multimap: use an map if another map ismatch
Alexander Moisseev
moiseev at mezonplus.ru
Mon Jan 25 17:48:15 UTC 2021
25.01.2021 14:50, rspam at padaru.com пишет:
> If i disable the second rule (accept_all) in my multimap.conf, the
> first rule (activate_scan_for_users) work, rspam write the symbol
> "Rspam_Activated_AI" to my header. But if i activate the rule
> accept_all, it seems as the rule activate_scan_for_users wont run.
>
It doesn't work because setting an action in multimap rule implies prefilter.
Remove accept_all multimap rule and use force actions module instead:
local.d/force_actions.conf
rules {
accept_all {
expression = "!Rspam_Activated";
action = "no_action";
}
}
More information about the Users
mailing list