[Rspamd] Add soft reject to dropped messages for Pushover

master
andryyy 2021-09-07 19:39:03 +02:00
parent 8e736ba9b0
commit 5e5ab6cf40
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ custom_select {
mailcow_rcpt = <<EOD mailcow_rcpt = <<EOD
return function(task) return function(task)
local action = task:get_metric_action('default') local action = task:get_metric_action('default')
if task:has_symbol('NO_LOG_STAT') or (action == 'reject' or action == 'add header' or action == 'rewrite subject') then if task:has_symbol('NO_LOG_STAT') or (action == 'soft reject' or action == 'reject' or action == 'add header' or action == 'rewrite subject') then
return false return false
else else
if task:get_symbol("RCPT_MAILCOW_DOMAIN") then if task:get_symbol("RCPT_MAILCOW_DOMAIN") then