On Fri, 1 Nov 2002, Brian Read <[EMAIL PROTECTED]> wrote > clamd recognizes the following commands: > >> PING Check server's state. It should reply with "PONG". >> >> RELOAD Reload the databases. >> >> QUIT Perform a clean exit. >> >> SCAN file/directory >> Scan a file or directory (recursively) with archive >> support. A full path is required. >> >> RAWSCAN file/directory >> Scan a file or directory (recursively) with archive >> support disabled. A full path is required. > > >ok, How do I issue these commands to the daemon? > Depends whether your using a TCP socket or a UNIX socket. If TCP, try
telnet localhost 3310 and then type the command. I posted some code for using clamd with amavisd-new the other day - see http://marc.theaimsgroup.com/?l=amavis-user&m=103592430504438&w=2 - it may give you some pointers. -- Chris Hastie --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]