[Mimedefang] send PING to clamd via socket
    Jeremy Mates 
    jmates at sial.org
       
    Sun Mar 20 21:28:05 EST 2005
    
    
  
* Al Sparks <data345 at yahoo.com>
> When I first start clamd and then,
>    > sudo clamd PING
> I don't get a PONG back.
> 
> In fact the documented commands don't seem to work at all.  What am I
> doing wrong?
Talk to the socket:
perl -MIO::Socket::UNIX -we \
  'my $s = IO::Socket::UNIX->new(shift); \
  $s->print("PING"); print $s->getline; $s->close' \
  /path/to/the/clamd.sock
See clamd.conf to determine where clamd.sock is on your system.
    
    
More information about the MIMEDefang
mailing list