Cannot find Socket (/var/run/clamd.scan/clamd.sock) Exiting!

"Macheta, Andy via MailScanner" <mailscanner-qhrM8SXbD5JTOyd/[email protected]> Tue, 2 May 2023 15:28:01 +0000
Newsgroups gmane.mail.virus.mailscanner
Message-ID <AS4PR01MB89670A3B714049ADB0ACF2B9DF6F9@AS4PR01MB8967.eurprd01.prod.exchangelabs.com>
Hi all,
I'm hoping someone on the list can provide some fix for this as I'm struggling to!

I'm running a test VM (Alma Linux 9) with Spamassassin/Postfix/MailScanner/clamd@scan but it looks like the problem is with the socket even though it exists and has the right permissions:

srw-rw----. 1 clamscan virusgroup 0 May  2 15:09 /var/run/clamd.scan/clamd.sock

If I run /usr/lib/MailScanner/wrapper/clamav-wrapper /usr /tmp
it finds the EISCAR test virus in /tmp which makes me think that clamav install is all OK

The error message I'm seeing in 'Mailscanner --lint' is:

Virus Scanning: No virus scanners worked, so message batch will be tried again at /usr/share/MailScanner/perl/MailScanner/SweepViruses.pm line 583.
Cannot find Socket (/var/run/clamd.scan/clamd.sock) Exiting! at /usr/share/MailScanner/perl/MailScanner/SweepViruses.pm line 2413.

Thanks in advance for any help/guidance.

Andy



-- 
MailScanner mailing list
mailscanner-qhrM8SXbD5JTOyd/[email protected]
http://lists.mailscanner.info/mailman/listinfo/mailscanner