On 2011-03-22 13:43, J4K wrote:
> Dear ClamAV chaps and chapettes,
> 
> 
>       I tried to get clamav-milter running, but can not get it to create a
> socket.  I thought that clamav-milter should crteate this itself upon
> start-up.
> 
> System:   Debian Squeeze
> 
> The clamav config is shown below.  The socket is defined.  (I don't
> think this should be configued in the clamav-milter.conf as the socket
> in there seems to provide communication between the milter and clamd.)

There is ClamdSocket and MilterSocket in clamav-milter.conf, the former
is for clamav-milter <-> clamd communication, the latter is what you
want: clamav-milter <-> MTA(postfix) communication.

> 
> # cat /etc/default/clamav-milter |grep -v ^#
> OPTIONS="--max-children=2 -ol"
> SOCKET_RWGROUP=postfix
> SOCKET=unix:/var/spool/postfix/clamav/clamav-milter.ctl
> 
> The directory exists, and clamav can write into it.
> # ls -ld /var/spool/postfix/clamav
> drwxrws--- 2 clamav postfix 4096 Mar 22 12:34 /var/spool/postfix/clamav
> 
> Notice that clamav-milter, after a restart, does not have any options
> passed to it.
> #ps aux | grep clamav-mil
> clamav   19558  0.0  0.0  59728   936 ?        Ssl  12:35   0:00
> /usr/sbin/clamav-milter
> 
> 
> Does anyone know what might have been mis-configured?

clamav-milter doesn't take command-line flags (since about 2 years),
everything is configured in clamav-milter.conf, see:
http://wiki.clamav.net/bin/view/Main/UpgradeNotes095#Using_the_new_clamav_milter

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

Reply via email to