clamd does not scan emails
Alexander Azeev
artang89 at gmail.com
Wed May 22 13:42:25 CEST 2019
Of course, I did that as well as restarting amavis and even the machine
itself.
вт, 21 мая 2019 г. в 21:23, Matus UHLAR - fantomas <uhlar at fantomas.sk>:
> On 21.05.19 17:17, 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.
>
> did you restart clamav after?
>
> >вт, 21 мая 2019 г. в 17:06, Dominic Raferd <dominic at timedicer.co.uk>:
> >> On Tue, 21 May 2019 at 14:54, Alexander Azeev <artang89 at gmail.com>
> 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
>
> --
> Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> "One World. One Web. One Program." - Microsoft promotional advertisement
> "Ein Volk, ein Reich, ein Fuhrer!" - Adolf Hitler
>
--
С уважением,
Азеев Александр
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.amavis.org/pipermail/amavis-users/attachments/20190522/557b7b45/attachment.html>
More information about the amavis-users
mailing list