public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
[Rspamd] Always include watchdog in no_stat and no_log flag symbol
80fc18c5
data/conf/rspamd/lua/rspamd.local.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Diff
diff --git a/data/conf/rspamd/lua/rspamd.local.lua b/data/conf/rspamd/lua/rspamd.local.lua
index 65ccb427..6318bd23 100644
--- a/data/conf/rspamd/lua/rspamd.local.lua
+++ b/data/conf/rspamd/lua/rspamd.local.lua
@@ -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