Daniel,

> However, trying clamdscan –c /etc/clamd.d/scan.conf eicar.txt I log the 
> following error:
>
>  
>
> WARNING: lstat() failed on: /path/to/eicar.txt
>
>  
>
> This happens both as a regular user and as root.  Clamd is running as UID and 
> GID clamscan.  I added my user to GID clamscan and still get the lstat error.
>

That means user clamscan cannot read the file eicar. This is idenepdant
of the user that launchs clamdscan. Try to put eicar.txt in /tmp and
make it mode 777.

>  
>
> @Olivier, I’ll ask you my question about Perl “glue” after I work out the 
> clamdscan issue.

I have no knowledge of ClamAV pluging for SA (I use amavis) but the
error was a Perl error.

Olivier

> Thanks both so far…
>
>  
>
> From: Kevin A. McGrail [mailto:kmcgr...@pccc.com] 
> Sent: Wednesday, November 18, 2015 22:46
> To: Olivier Nicole <olivier.nic...@cs.ait.ac.th>
> Cc: d...@islenet.com; users@spamassassin.apache.org
> Subject: Re: ClamAV.pm Plugin Not Working
>
>  
>
> Just starting with basics because I think this is a 3rd party plugin. Perhaps 
> clam daemon isn't running.
> Regards,
> KAM
>
> On November 18, 2015 10:40:03 PM EST, Olivier Nicole 
> <olivier.nic...@cs.ait.ac.th <mailto:olivier.nic...@cs.ait.ac.th> > wrote:
>
> Hi,
>
>  On November 18, 2015 6:49:16 PM EST, "Daniel L. Srebnick" <d...@islenet.com 
> <mailto:d...@islenet.com> > wrote:
>
> Yes it does:
>
>  
>
> clamscan eicar.txt
>
>
> Using clamscan, you only prove that ClamAV is working.
>
> Your error was in the Perl glue between SpamAssassin and ClamAV, not in
> ClamAV.
>
> Best regards,
>
> Olivier
>
>
> eicar.txt: Eicar-Test-Signature FOUND
>
>  
>
> ----------- SCAN SUM!
>  MARY
> -----------
>
> Known viruses: 4110717
>
> Engine version: 0.98.7
>
> Scanned directories: 0
>
> Scanned files: 1
>
> Infected files: 1
>
> Data scanned: 0.00 MB
>
> Data read: 0.00 MB (ratio 0.00:1)
>
> Time: 6.976 sec (0 m 6 s)
>
>  
>
> From: Kevin A. McGrail [mailto:kmcgr...@pccc.com] 
> Sent: Wednesday, November 18, 2015 18:38
> To: dans <d...@islenet.com <mailto:d...@islenet.com> >; 
> users@spamassassin.apache.org <mailto:users@spamassassin.apache.org> 
> Subject: Re: ClanAV.pm <http://ClanAV.pm>  Plugin Not Working
>
>  
>
> Does clamav work from the cli?
> Regards,
> KAM
>
> On November 18, 2015 6:16:18 PM EST, dans <d...@islenet.com 
> <mailto:d...@islenet.com%0b%3cmailto:d...@islenet.com> 
> <mailto:d...@islenet.com> > wrote:
>
> First sentence should read "running fine".
>
>
>
> --
> View this message in context:
> http://spamassassin.1065346.n5.nabble.com/ClanAV-pm-Plugin-Not-Working-tp118560p118561.html
> Sent from the SpamAssassin - Users mailing list archive at Nabble.com 
> <http://Nabble.com> 
> <http://Nabble.com> .
>
>
>  [2:text/html Show]
>
>  
>
>
> [2:text/html Show]
>

-- 

Reply via email to