Tried that, unfortunately it did not help.

вт, 21 мая 2019 г. в 18:33, PGNet Dev <[email protected]>:

> Are you using unix sock for clamd?
>
> If so, try a TCP socket (on 127.0.0.1) instead ...
>
> On 5/21/19 7:17 AM, Alexander Azeev wrote:
> > I've tried that already, as well as changing permissions to 770 for
> > /var/amavis/tmp/,
> > and  AllowSupplementaryGroups in clamd.conf is set to true.
> >
> > вт, 21 мая 2019 г. в 17:06, Dominic Raferd <[email protected]
> > <mailto:[email protected]>>:
> >
> >
> >
> >     On Tue, 21 May 2019 at 14:54, Alexander Azeev <[email protected]
> >     <mailto:[email protected]>> wrote:
> >
> >         Hello, I have a problem with clamd not being able to scan mail
> >         properly.
> >         In the amavis log there are messages like:
> >
> >         run_av (ClamAV-clamd) result:
> >         /var/amavis/tmp/amavis-20190518T065844-01954-dOjV4CBP/parts:
> >         lstat() failed: Permission denied.
> >
>  ERROR\n/var/amavis/tmp/amavis-20190518T065844-01954-dOjV4CBP/parts:
> >         OK\n
> >         run_av (ClamAV-clamd): CLEAN
> >         run_av (ClamAV-clamd) result: clean
> >
> >         So it passes everything as CLEAN, even the EICAR test virus.
> >         It seems to be a permissions issue.
> >         I used this article to check my settings
> >
> https://www.moshe-schmidt.de/linux/clamav-permission-denied-how-to-fix-it/
> ,
> >         but everything seems to be correct.
> >
> >
> >     Try adding user amavis to group clamav (as well as adding user
> >     clamav to group amavis, which I guess you already did):
> >     # adduser amavis clamav
> >
> >
> >
> > --
> > С уважением,
> > Азеев Александр
> >
>
>

-- 
С уважением,
Азеев Александр

Reply via email to