From: MB Date: Mon, 3 Apr 2017 11:04:28 +0000 (+0200) Subject: The same with 'OK SSSP' messages X-Git-Tag: 1.5.5~56^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=21efd616891f34b03418e577622ed802a9212df6;p=rspamd.git The same with 'OK SSSP' messages --- 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)