Serge, I think I could have setup it up to scan the a Data Stream removing the need for the temp files. However, I needed a quick and dirty solution if you know what I mean. So I left it as a matcher like Vincenzo's IsInfected class. Hence most of the code is Vincenzo's, except for the part that calls CLAMD.
Any input on updating it to a Mailet or sending the messages directly to Clamd would be appreciated. Kraig ----- Original Message ----- From: "Serge Knystautas" <[EMAIL PROTECTED]> To: "James Users List" <[EMAIL PROTECTED]> Sent: Thursday, May 27, 2004 10:00 AM Subject: Re: Clam antivirus and JAMES > Kraig Schario wrote: > > I have modified Vincenzo's IsInfected matcher to call the CLAMD daemon > > process on a RedHat Linux 9 installation. This is more efficient that > > calling the clamscan program. I am not a Java programmer by trade, so it > > isn't the best hack, but it works. The new matcher is called ClamAV. > > Kraig, > > This looks very promising. A question though...now that you're using > clamd, do you need to use temp files at all? > > Also (this may be more a function of the original design), since you're > putting a flag in the message anyway, is there a need to write this as a > matcher? A mailet would be easier to configure, and then the next step > could be checking for the X-MessageIsInfected header. > > -- > Serge Knystautas > President > Lokitech >> software . strategy . design >> http://www.lokitech.com > p. 301.656.5501 > e. [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]