[Rspamd] Add soft reject to dropped messages for Pushover
parent
8e736ba9b0
commit
5e5ab6cf40
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue