Ed Kasky wrote:

> 
> I think I'm almost there...
> 
> I figured out the init script but now the milter is having trouble 
> with the clamd socket.
> 
>  From the milter log:
> Sat Mar 21 13:42:02 2009 -> +++ Started at Sat Mar 21 13:42:02 2009
> Sat Mar 21 13:42:02 2009 -> ERROR: Failed to parse ClamdSocket 
> directive '/var/run/clamav/clamd.sock'
> Sat Mar 21 13:42:02 2009 -> ERROR: Failed to init the socket pool
> 
> srwxrwxrwx 1 clamav clamav 0 Mar 21 13:41 /var/run/clamav/clamd.sock
> 
>  From clamd.conf:
> LocalSocket /var/run/clamav/clamd.sock
> FixStaleSocket yes
> TCPSocket 3310
> TCPAddr 127.0.0.1
> 
>  From clamav-milter.conf:
> User clamav
> ClamdSocket /var/run/clamav/clamd.sock
> ClamdSocket tcp:127.0.0.1:3310
> 

Pardon a bit of thread hijacking but...

Developers - could you unify the names of these sockets and invocation method?

 From clamd.conf:
LocalSocket /var/run/clamav/clamd.sock
TCPSocket 3310
TCPAddr 127.0.0.1

 From clamav-milter.conf:
ClamdSocket /var/run/clamav/clamd.sock (this is wrong, BTW)
ClamdSocket tcp:127.0.0.1:3310

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

Reply via email to