Help with MailScanner and remote clamd
Kevin G. Chege
kevin.chege at gmail.com
Wed Jan 6 07:01:01 UTC 2021
Hi,
I have MailScanner installed and works ok with a locally available clamd
socket configuration. But when I try to use a remote Clamd socket (an IP
address of another jail on the system) with this configuration in
MailScanner.conf:
Virus Scanners = clamd
Clamd Port = 3310
Clamd Socket = 127.0.0.87
I get the following error:
MailScanner.conf says "Virus Scanners = clamd"
Found these virus scanners installed: clamd
===========================================================================
Filename Checks: Windows/DOS Executable (1 eicar.com)
Other Checks: Found 1 problems
Virus and Content Scanning: Starting
Clamd::ERROR:: UNKNOWN CLAMD RETURN ./lstat() failed: No such file or
directory. ERROR :: /var/spool/MailScanner/incoming/16761
Virus Scanning: Clamd found 1 infections
Virus Scanning: Found 1 viruses
===========================================================================
I have checked and indeed "/var/spool/MailScanner/incoming/16761" does not
exist.
On the machine with Clamd running on an IP and port, this is the message in
ClamAV log file:
WARNING: lstat() failed on: /var/spool/MailScanner/incoming/16761
The permissions look ok to me since with a local Clamd, it is working well.
Could someone help with the appropriate config for MailScanner and a remote
Clam anitvirus?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20210106/3fdd9ab8/attachment.html>
More information about the MailScanner
mailing list