You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2022/08/22 15:59:29 UTC

[james-project] 02/05: JAMES-3775 ClamAV: avoid starting freshClam

This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 726ae0fbbb812a6f8e22602beda29cedeb4f5137
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Mon Aug 22 09:35:14 2022 +0700

    JAMES-3775 ClamAV: avoid starting freshClam
---
 .../rspamd/src/test/java/org/apache/james/rspamd/DockerClamAV.java      | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/third-party/rspamd/src/test/java/org/apache/james/rspamd/DockerClamAV.java b/third-party/rspamd/src/test/java/org/apache/james/rspamd/DockerClamAV.java
index 7fdf946dd7..3bf5ca4562 100644
--- a/third-party/rspamd/src/test/java/org/apache/james/rspamd/DockerClamAV.java
+++ b/third-party/rspamd/src/test/java/org/apache/james/rspamd/DockerClamAV.java
@@ -33,6 +33,8 @@ public class DockerClamAV {
     public DockerClamAV(Network network) {
         this.container = new GenericContainer<>(DEFAULT_IMAGE_NAME.withTag(DEFAULT_TAG))
             .withExposedPorts(DEFAULT_PORT)
+            .withEnv("CLAMAV_NO_FRESHCLAMD", "true")
+            .withEnv("CLAMAV_NO_MILTERD", "true")
             .withNetwork(network)
             .withNetworkAliases("clamav");
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org