<div dir="ltr">Tried that, unfortunately it did not help. <br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 21 мая 2019 г. в 18:33, PGNet Dev <<a href="mailto:pgnet.dev@gmail.com">pgnet.dev@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Are you using unix sock for clamd?<br>
<br>
If so, try a TCP socket (on 127.0.0.1) instead ...<br>
<br>
On 5/21/19 7:17 AM, Alexander Azeev wrote:<br>
> I've tried that already, as well as changing permissions to 770 for <br>
> /var/amavis/tmp/,<br>
> and AllowSupplementaryGroups in clamd.conf is set to true.<br>
> <br>
> вт, 21 мая 2019 г. в 17:06, Dominic Raferd <<a href="mailto:dominic@timedicer.co.uk" target="_blank">dominic@timedicer.co.uk</a> <br>
> <mailto:<a href="mailto:dominic@timedicer.co.uk" target="_blank">dominic@timedicer.co.uk</a>>>:<br>
> <br>
> <br>
> <br>
> On Tue, 21 May 2019 at 14:54, Alexander Azeev <<a href="mailto:artang89@gmail.com" target="_blank">artang89@gmail.com</a><br>
> <mailto:<a href="mailto:artang89@gmail.com" target="_blank">artang89@gmail.com</a>>> wrote:<br>
> <br>
> Hello, I have a problem with clamd not being able to scan mail<br>
> properly.<br>
> In the amavis log there are messages like:<br>
> <br>
> run_av (ClamAV-clamd) result:<br>
> /var/amavis/tmp/amavis-20190518T065844-01954-dOjV4CBP/parts:<br>
> lstat() failed: Permission denied.<br>
> ERROR\n/var/amavis/tmp/amavis-20190518T065844-01954-dOjV4CBP/parts:<br>
> OK\n<br>
> run_av (ClamAV-clamd): CLEAN<br>
> run_av (ClamAV-clamd) result: clean<br>
> <br>
> So it passes everything as CLEAN, even the EICAR test virus.<br>
> It seems to be a permissions issue.<br>
> I used this article to check my settings<br>
> <a href="https://www.moshe-schmidt.de/linux/clamav-permission-denied-how-to-fix-it/" rel="noreferrer" target="_blank">https://www.moshe-schmidt.de/linux/clamav-permission-denied-how-to-fix-it/</a>,<br>
> but everything seems to be correct.<br>
> <br>
> <br>
> Try adding user amavis to group clamav (as well as adding user<br>
> clamav to group amavis, which I guess you already did):<br>
> # adduser amavis clamav<br>
> <br>
> <br>
> <br>
> -- <br>
> С уважением,<br>
> Азеев Александр<br>
> <br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">С
уважением,</span>
<div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Азеев
Александр</div>
</div>
<br><span></span></div></div></div></div>