Chuck Swiger wrote:
> Your config looks to be about the smallest valid config, but there might
> be a bigger one with comment'ed out examples called amavisd.conf-dist or
> amavisd.conf-sample floating around somewhere. Of course, I am working
> under the assumption that you are using amavisd-new (as in
> http://www.ijs.si/software/amavisd/, and not the older one).
>
I will check for a more detailed config however Debian has multiple
amavisd-new config files rather than /etc/amavis.conf. I checked to make
sure and I am fairly certain I have amavisd-new rather than the older
version according to my distributions package manager:
email:/# apt-cache policy amavisd-new
amavisd-new:
Installed: 1:2.4.2-6.1
Candidate: 1:2.4.2-6.1
Version table:
*** 1:2.4.2-6.1 0
500 http://ftp.us.debian.org etch/main Packages
100 /var/lib/dpkg/status
> You'd need a complete entry like:
>
> @av_scanners = (
> # ### http://www.clamav.net/
> ['ClamAV-clamd',
> \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd"],
> qr/\bOK$/, qr/\bFOUND$/,
> qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ]
> );
>
>
OK - I will append that to my config. I assume it can go at the very
bottom or it does not matter.
> OK; in that case, I believe you'd want to enable the
> AllowSupplementaryGroups option in clamd.conf, and add clamav to the
> amavis group.
>
> Regards,
Here are my groups on my system:
amavis:x:107:
clamav:x:108:
So you suggest I run the following once I enable "AllowSupplementaryGroups"?
usermod -g 108 -G 107 clamav
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml