Re: Help with MailScanner and remote clamd

Shawn Iverson via MailScanner <mailscanner-qhrM8SXbD5JTOyd/[email protected]>
Newsgroups gmane.mail.virus.mailscanner
Message-ID <[email protected]>
I'm afraid what you are trying to do is not possible. MailScanner does 
not send the files to the socket for scanning. It merely calls clamd to 
scan the files locally via the socket.

On 1/6/21 2:01 AM, Kevin G. Chege wrote:
> 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 <http://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?
>
>
>
>
>
>
>
>
>



-- 
MailScanner mailing list
mailscanner-qhrM8SXbD5JTOyd/[email protected]
http://lists.mailscanner.info/mailman/listinfo/mailscanner
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.