amavis[18486]: (18486-01) (!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/amavis/tmp/amavis-x/parts: lstat() failed: Permission denied. ERROR\n"
I fixed that adding the clamav user in amavis group with this commandusermod -a -G amavis clamav