[Rspamd, Web] Add rewrite subject to known soft quarantine actions

This commit is contained in:
andryyy
2020-11-13 21:26:42 +01:00
parent 477e1ff464
commit 5d9c40b8b4
3 changed files with 10 additions and 4 deletions

View File

@@ -53,7 +53,7 @@ return function(task)
and not task:has_symbol('GLOBAL_RCPT_BL')
and not task:has_symbol('MAILCOW_BLACK') then
local action = task:get_metric_action('default')
if action == 'reject' or action == 'add header' then
if action == 'reject' or action == 'add header' or action == 'rewrite subject' then
return true
end
end