Skip to content

Commit

Permalink
[Rspamd] Always include watchdog in no_stat and no_log flag symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
andryyy committed Sep 7, 2021
1 parent 7641dbf commit 80fc18c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/conf/rspamd/lua/rspamd.local.lua
Expand Up @@ -493,7 +493,7 @@ rspamd_config:register_symbol({
type = 'postfilter',
callback = function(task)
local from = task:get_header('From')
if from and monitoring_hosts:get_key(from) then
if from and (monitoring_hosts:get_key(from) or from == "watchdog@localhost") then
task:set_flag('no_log')
task:set_flag('no_stat')
end
Expand Down

0 comments on commit 80fc18c

Please sign in to comment.