<html><head>

<style type="text/css"><!----></style><style id="css_styles" type="text/css"><!--blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
a img { border: 0px; }
li[style='text-align: center;'], li[style='text-align: center; '], li[style='text-align: right;'], li[style='text-align: right; '] {  list-style-position: inside;}
body { font-family: 'Segoe UI'; font-size: 12pt; }
.quote { margin-left: 1em; margin-right: 1em; border-left: 5px #ebebeb solid; padding-left: 0.3em; }
--></style>
</head>
<body><div>Running under Ubuntu but my lock file is /var/run/clamav/clamd.ctl</div><div><br /></div><div>MailScanner.conf:Clamd Socket = /var/run/clamav/clamd.ctl</div><div><br /></div><div><span>srw-rw-rw-  1 clamav mtagroup    0 Apr 15 10:42 clamd.ctl</span></div><div style="clear:both"><br /></div>
<div>This is MailScanner version 5.4.4</div><div><br /></div><div><span>ClamdTOP version 0.103.8   Tue May  2 10:33:03 2023 </span></div><div>NO CONNTIME LIV IDL QUEUE  MAXQ   MEM ENGINE  DBVER DBTIME        HOST
</div><div> 1 00:00:12  12  11     0     0 1.54G 0.103.8 26894 2023-05-02T02 local
</div><div><br /></div><div>Details for Clamd version:  ClamAV 0.103.8/26894/Tue May  2 02:23:02 2023</div><div><br /></div><div><br /></div>
<div>
<div>------ Original Message ------</div>
<div>From "Macheta, Andy via MailScanner" <<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a>></div>
<div>To "<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a>" <<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a>></div>
<div>Cc "Macheta, Andy" <<a href="mailto:Andy.Macheta@warwick.ac.uk">Andy.Macheta@warwick.ac.uk</a>></div>
<div>Date 5/2/2023 10:28:01 AM</div>
<div>Subject Cannot find Socket (/var/run/clamd.scan/clamd.sock) Exiting!</div></div><div><br /></div>
<div id="x0979121ebd5747d"><blockquote cite="AS4PR01MB89670A3B714049ADB0ACF2B9DF6F9@AS4PR01MB8967.eurprd01.prod.exchangelabs.com" type="cite" class="cite2">

<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<div class="adn ads" data-message-id="#msg-a:r-6973900744704206052" data-legacy-message-id="187dcf59711c1442" style="border-left: none; display: flex; font-family: "Google Sans", Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: medium; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255);">
<div class="gs" style="margin:0px;padding:0px 0px 20px">
<div>
<div class="ii gt" style="margin:8px 0px 0px;font-size:0.875rem">
<div class="a3s aiL " style="font:small / 1.5 Arial, Helvetica, sans-serif;overflow:hidden">
<div dir="ltr" class="ContentPasted0">Hi all,
<div class="ContentPasted0">I'm hoping someone on the list can provide some fix for this as I'm struggling to!</div>
<div><br class="ContentPasted0" />
</div>
<div class="ContentPasted0">I'm running a test VM (Alma Linux 9) with Spamassassin/Postfix/<wbr class="ContentPasted0">MailScanner/clamd@scan but it looks like the problem is with the socket even though it exists and has the right permissions:<br class="ContentPasted0" />
<br class="ContentPasted0" />
srw-rw----. 1 clamscan virusgroup 0 May  2 15:09 /var/run/clamd.scan/clamd.sock<br class="ContentPasted0" />
<br class="ContentPasted0" />
If I run /usr/lib/MailScanner/<wbr class="ContentPasted0">wrapper/clamav-wrapper /usr /tmp </wbr></wbr></div>
<div class="ContentPasted0">it finds the EISCAR test virus in /tmp which makes me think that clamav install is all OK</div>
<div><br class="ContentPasted0" />
</div>
<div class="ContentPasted0">The error message I'm seeing in 'Mailscanner --lint' is:</div>
<div class="ContentPasted0"><br class="ContentPasted0" />
Virus Scanning: No virus scanners worked, so message batch will be tried again at /usr/share/MailScanner/perl/<wbr class="ContentPasted0">MailScanner/SweepViruses.pm line 583.<br class="ContentPasted0" />
Cannot find Socket (/var/run/clamd.scan/clamd.<wbr class="ContentPasted0">sock) Exiting! at /usr/share/MailScanner/perl/<wbr class="ContentPasted0">MailScanner/SweepViruses.pm line 2413.<br class="ContentPasted0" />
</wbr></wbr></wbr></div>
<div><br class="ContentPasted0" />
</div>
<div class="ContentPasted0">Thanks in advance for any help/guidance.</div>
<font style="color: rgb(136, 136, 136);">
<div><br class="ContentPasted0" />
</div>
<div class="ContentPasted0">Andy</div>
</font></div>
<div class="yj6qo"></div>
<div class="adL"></div>
</div>
</div>
<div class="hi" style="border-bottom-left-radius: 1px; border-bottom-right-radius: 1px; background: rgb(242, 242, 242); margin: 0px;">
</div>
</div>
</div>
<div class="ajx" style="clear:both"></div>
</div>
<div class="gA gt acV" style="font-size: 0.875rem; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top: none; margin: 0px; background: rgb(255, 255, 255); font-family: "Google Sans", Roboto, RobotoDraft, Helvetica, Arial, sans-serif; color: rgb(34, 34, 34);">
<div class="gB xu"><span class="ip iq" style="clear:both;margin:0px;padding:16px 0px;border-top:none"></span></div>
</div>
<br />
</div>
</blockquote></div>


</body></html>