소스 검색

Added mailflowmonitoring.com to no log Rspamd (#3384)

Ry3nlNaToR 5 년 전
부모
커밋
93965fdc30
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      data/conf/rspamd/lua/rspamd.local.lua

+ 1 - 1
data/conf/rspamd/lua/rspamd.local.lua

@@ -203,7 +203,7 @@ rspamd_config:register_symbol({
   type = 'postfilter',
   callback = function(task)
     local from = task:get_header('From')
-    if from and (string.find(from, 'monitoring-system@everycloudtech.us', 1, true) or from == 'watchdog@localhost') then
+    if from and (string.find(from, 'monitoring-system@everycloudtech.us', 1, true) or string.find(from, 'monitor@tools.mailflowmonitoring.com', 1, true) or from == 'watchdog@localhost') then
       task:set_flag('no_log')
       task:set_flag('no_stat')
     end