1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-04 10:24:42 +02:00

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

This commit is contained in:
Ry3nlNaToR 2020-03-04 05:08:54 +00:00 committed by GitHub
parent f7b94f8d77
commit 93965fdc30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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