瀏覽代碼

[Rspamd] Add soft reject to dropped messages for Pushover

andryyy 4 年之前
父節點
當前提交
5e5ab6cf40
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      data/conf/rspamd/local.d/metadata_exporter.conf

+ 1 - 1
data/conf/rspamd/local.d/metadata_exporter.conf

@@ -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