[Mimedefang] notifying clamd

Jeremy Mates jmates at sial.org
Mon Jun 30 20:01:02 EDT 2003


* Jeffrey Goldberg <jeffrey at goldmark.org>
> And is freshclam with --daemon-notify ?

Another option is to poke at the daemon with perl, which will force a
reload of the database. Assuming the user running the code has proper
access to the socket, that is.

# perl -MIO::Socket::UNIX -e '$s = IO::Socket::UNIX->new(shift); \
  $s->print("RELOAD"); print $s->getline; $s->close' \
  /var/spool/MIMEDefang/clamd.sock




More information about the MIMEDefang mailing list