<div dir="ltr">Of course, I did that as well as restarting amavis and even the machine itself.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 21 мая 2019 г. в 21:23, Matus UHLAR - fantomas <<a href="mailto:uhlar@fantomas.sk">uhlar@fantomas.sk</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">On 21.05.19 17:17, 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>
did you restart clamav after?<br>
<br>
>вт, 21 мая 2019 г. в 17:06, Dominic Raferd <<a href="mailto:dominic@timedicer.co.uk" target="_blank">dominic@timedicer.co.uk</a>>:<br>
>> On Tue, 21 May 2019 at 14:54, Alexander Azeev <<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 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: lstat()<br>
>>> failed: Permission denied.<br>
>>> ERROR\n/var/amavis/tmp/amavis-20190518T065844-01954-dOjV4CBP/parts: 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>
>>> ,<br>
>>> but everything seems to be correct.<br>
>>><br>
>>><br>
>> Try adding user amavis to group clamav (as well as adding user clamav to<br>
>> group amavis, which I guess you already did):<br>
>> # adduser amavis clamav<br>
<br>
-- <br>
Matus UHLAR - fantomas, <a href="mailto:uhlar@fantomas.sk" target="_blank">uhlar@fantomas.sk</a> ; <a href="http://www.fantomas.sk/" rel="noreferrer" target="_blank">http://www.fantomas.sk/</a><br>
Warning: I wish NOT to receive e-mail advertising to this address.<br>
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.<br>
"One World. One Web. One Program." - Microsoft promotional advertisement<br>
"Ein Volk, ein Reich, ein Fuhrer!" - Adolf Hitler<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>