On 2013-04-29 00:13, Benny Pedersen wrote:
Kim Johansen skrev den 2013-04-25 22:41:

I am setting up a Maia mailguard system with ClamAV for virus scanning.

amavis should not have write access to clamav dirs, but clamav should have read access to amavis dirs

in other words, clamav should list amavis in group

id clamav

to check its not missing


Thanks,
that is true, I need to change my clamav user back.

It did turn out to be apparmor the dmesg log was full of permission denied from apparmor.

And the problem was in the /etc/apparmor.d/usr.sbin.clamd file:

  # For amavisd-new integration
  #/var/lib/amavis/tmp/** r,

My installation of maia is not in /var/lib/amavis/ it is /var/amavis

  /var/amavisd/tmp/** r,


So after changing that it all work fine.

--
Kim
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to