<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Hallo Stefan,</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">es kann gut sein, dass ich irgendwie was falsch mache. Ich hatte einfach festgestellt, dass wenn der Socket abgeschaltet ist, dann ging zumindest bei Debian 11 noch das Scannen von Anhängen.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Vorab, ich kann momentan keine Fehlermeldung von der Situation direkt zeigen, weil das Backup der VM aus der Nacht zum Montag wieder eingespielt hatte. Hier funktioniert das Scannen noch und das Geschrei der Benutzer war ein zu groß.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Am Donnerstag, 14. Dezember 2023, 12:17:59 CET schrieb Stefan Förster via Postfixbuch-users:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> ich bin nicht ganz davon überzeugt, ob Du an der richtigen Stelle</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> suchst. Kannst Du mal die konkrete Fehlermeldung zeigen, oder was</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> passiert, wenn Du mit "clamdscan" (nicht "clamscan", die Variante mit</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> dem "d" verwendet den Socket) ein File scannen willst?</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Da zeige ich doch gleich mal das hier:</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span style="color:#000000;"><span style="font-family:monospace;"><span style="background-color:#ffffff;">clamdscan /home/wh/PostfixAdmin\ 3.3.1.tar.gz  </span></span></span><br />/home/wh/PostfixAdmin 3.3.1.tar.gz: OK <br /><br />----------- SCAN SUMMARY ----------- <br />Infected files: 0 <br />Time: 4.005 sec (0 m 4 s) <br />Start Date: 2023:12:14 17:15:16 <br />End Date:   2023:12:14 17:15:20<br /></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Das ist soweit problemlos.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Und ich sehe, Du hast eine extend.conf für den Service angelegt, kannst</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Du da mal den Inhalt zeigen?</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Ja, die liegt in "<span style="color:#000000;"><span style="background-color:#ffffff;">/etc/systemd/system/clamav-daemon.service.d/extend.conf</span></span><br />“ mit diesem Inhalt</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span style="color:#000000;"><span style="background-color:#ffffff;">[Service] </span></span><br />ExecStartPre=-/bin/mkdir -p /run/clamav <br />ExecStartPre=/bin/chown clamav /run/clamav</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Besten Dank</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Andreas</p>
<br /></body>
</html>