From 21efd616891f34b03418e577622ed802a9212df6 Mon Sep 17 00:00:00 2001 From: MB Date: Mon, 3 Apr 2017 13:04:28 +0200 Subject: [PATCH] The same with 'OK SSSP' messages --- src/plugins/lua/antivirus.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/antivirus.lua b/src/plugins/lua/antivirus.lua index ed06e4796..96ff2c6ae 100644 --- a/src/plugins/lua/antivirus.lua +++ b/src/plugins/lua/antivirus.lua @@ -484,7 +484,7 @@ local function sophos_check(task, rule) rspamd_logger.infox(task, '%s [%s]: message is clean', rule['symbol'], rule['type']) end save_av_cache(task, rule, 'OK') - elseif string.find(data, 'ACC') then + elseif string.find(data, 'ACC') or string.find(data, 'OK SSSP') then conn:add_read(sophos_callback) else rspamd_logger.errx(task, 'unhandled response: %s', data) -- 2.39.5