diff options
author | MB <mb@nts.ch> | 2017-04-03 13:04:28 +0200 |
---|---|---|
committer | MB <mb@nts.ch> | 2017-04-03 13:04:28 +0200 |
commit | 21efd616891f34b03418e577622ed802a9212df6 (patch) | |
tree | 3e8696b4258ee04c097bad6fc44ffc4d28adf3e0 /src/plugins | |
parent | 302621bc496f0176f4483f6800b471351fec95f1 (diff) | |
download | rspamd-21efd616891f34b03418e577622ed802a9212df6.tar.gz rspamd-21efd616891f34b03418e577622ed802a9212df6.zip |
The same with 'OK SSSP' messages
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/antivirus.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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) |