<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><span class="VIiyi" lang="en"><span class="JLqJ4b ChMk0b"
          data-language-for-alternatives="en"
          data-language-to-translate-into="it" data-phrase-index="0"
          data-number-of-phrases="1"><span class="Q4iAWc">finally, we
            solved it with a workaround: switching to using ikarus AV
            via socket,</span></span></span></p>
    <p><span class="VIiyi" lang="en"><span class="JLqJ4b ChMk0b"
          data-language-for-alternatives="en"
          data-language-to-translate-into="it" data-phrase-index="0"
          data-number-of-phrases="1"><span class="Q4iAWc">because
            starting with version 1.7.0, IKARUS scan.server supports a
            ClamAV compatible TCP socket that mimics clamd (default TCP
            port: 3310)</span></span></span></p>
    <p><span class="VIiyi" lang="en"><span class="JLqJ4b ChMk0b"
          data-language-for-alternatives="en"
          data-language-to-translate-into="it" data-phrase-index="0"
          data-number-of-phrases="1"><span class="Q4iAWc">in
            scanserver.json decomment:<br>
          </span></span></span></p>
    <p><span class="VIiyi" lang="en"><span class="JLqJ4b ChMk0b"
          data-language-for-alternatives="en"
          data-language-to-translate-into="it" data-phrase-index="0"
          data-number-of-phrases="1"><span class="Q4iAWc">"clam_port":
            3310,<br>
            "clam_iface": 127.0.0.1,<br>
          </span></span></span></p>
    <p><span class="VIiyi" lang="en"><span class="JLqJ4b ChMk0b"
          data-language-for-alternatives="en"
          data-language-to-translate-into="it" data-phrase-index="0"
          data-number-of-phrases="1"><span class="Q4iAWc">restart ikarus
            service, then in Amavis use these lines:</span></span></span></p>
    <p><span class="VIiyi" lang="en"><span class="JLqJ4b ChMk0b"
          data-language-for-alternatives="en"
          data-language-to-translate-into="it" data-phrase-index="0"
          data-number-of-phrases="1"><span class="Q4iAWc">['IKARUS-Clamav',<br>
               \&ask_daemon, ["CONTSCAN {}/../email.txt\n",
            "127.0.0.1:3310"],<br>
               qr/\bOK$/m, qr/\bFOUND$/m,<br>
               qr/^.*?: (?!Infected Archive)(.*) FOUND$/m ],<br>
          </span></span></span></p>
    <p><span class="VIiyi" lang="en"><span class="JLqJ4b ChMk0b"
          data-language-for-alternatives="en"
          data-language-to-translate-into="it" data-phrase-index="0"
          data-number-of-phrases="1"><span class="Q4iAWc">Seems works
            fine</span></span></span></p>
    <div class="J0lOec"><span class="VIiyi" lang="en"><span
          class="JLqJ4b ChMk0b" data-language-for-alternatives="en"
          data-language-to-translate-into="it" data-phrase-index="0"
          data-number-of-phrases="1"><span class="Q4iAWc">why via api
            stopped working remains unknown for me ;-)</span></span></span><span
        class="zEswK"></span></div>
    <p><span class="VIiyi" lang="en"><span class="JLqJ4b ChMk0b"
          data-language-for-alternatives="en"
          data-language-to-translate-into="it" data-phrase-index="0"
          data-number-of-phrases="1"><span class="Q4iAWc"></span></span></span></p>
    <p><span class="VIiyi" lang="en"><span class="JLqJ4b ChMk0b"
          data-language-for-alternatives="en"
          data-language-to-translate-into="it" data-phrase-index="0"
          data-number-of-phrases="1"><span class="Q4iAWc">Alessandro -
            Lota<br>
          </span></span></span></p>
  </body>
</html>