[Pkg-clamav-devel] Bug#939850: clamav-daemon: timeout on /run/clamav/clamd.ctl, too slow to reload daily.ldb rules
Baptiste BEAUPLAT
lyknode at cilg.org
Sat Nov 9 11:57:04 GMT 2019
Hello,
For anyone looking for a workaround with Exim, I have been using the
`tmo` option of the `malware` action. This allow to customize the
timeout for the AV scanner.
diff --git a/exim4/check_data_local_acl b/exim4/check_data_local_acl
index 538f3a9..4013b35 100644
--- a/exim4/check_data_local_acl
+++ b/exim4/check_data_local_acl
@@ -13,7 +13,7 @@ deny
# Antivirus scan
deny
- malware = *
+ malware = * / tmo=5m
message = This message was detected as possible malware
($malware_name).
This option is documented here:
https://www.exim.org/exim-html-current/doc/html/spec_html/ch-content_scanning_at_acl_time.html
--
Baptiste BEAUPLAT - lyknode
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-clamav-devel/attachments/20191109/7d4c258d/attachment.sig>
More information about the Pkg-clamav-devel
mailing list