On 13/02/2007 00:47, heze54 wrote:
I've an ubuntu server with squid+dansguardian+clamav.
In this machine are  postfix+amavisd-new and spamassassin too.

I can not configure clamav and amavis because is not possible to enable localsocket and tcp service.Now tcp service on 3310 localhost port is running.

Is there any configuration to run clamav on this machine?

I'm not sure what you mean. You can enable both LocalSocket and TCPSocket if you want. Check permissions on the directory containing the local socket. The clamd process needs write access to this directory. If clamd is started as root, and switches to the unprivileged user specified by the "User" option in /etc/clamd.conf, the local socket is created by the unprivileged user, so this unprivileged user needs write access to the directory containing the local socket.

It's also worth mentioning that amavisd-new and clamd should run with the same user ID so clamd can access the files presented to it by amavisd-new. I'm not sure about the squid+dansguardian side as I don't use them, but maybe they also have to run with the same user ID as clamd (or at least the same group ID).

--
-=( Ian Abbott @ MEV Ltd.    E-mail: <[EMAIL PROTECTED]>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to