Re: Help with MailScanner and remote clamd
"Kevin G. Chege" <[email protected]>
| Newsgroups | gmane.mail.virus.mailscanner |
|---|---|
| Message-ID | <CAK0fVh9heYuaP5G-J5T3iSgiOoqoZGm3KdMTR2sMTRx+x5tJ4g@mail.gmail.com> |
ok thanks Shawn. I will try something else like a dedicated MailScanner + ClamAV instance to route mail through Kevin On Wed, Jan 6, 2021 at 2:38 PM Shawn Iverson via MailScanner < mailscanner-qhrM8SXbD5JTOyd/[email protected]> wrote: > 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) > > 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 > > -- MailScanner mailing list mailscanner-qhrM8SXbD5JTOyd/[email protected] http://lists.mailscanner.info/mailman/listinfo/mailscanner