andryyy 2017-09-20 23:25:07 +02:00
commit 288a55b1f3
1 changed files with 13 additions and 1 deletions

View File

@ -108,3 +108,15 @@ rspamd_config:register_symbol({
end,
priority = 20
})
rspamd_config:register_symbol({
name = 'NO_LOG_STAT_MAILFLOW',
type = 'postfilter',
callback = function(task)
local sender = task:get_header('From')
if sender == 'monitoring-system@everycloudtech.us' then
task:set_flag('no_log')
task:set_flag('no_stat')
end
end
})