On Thursday 11 March 2004 4:18 pm, Brad Morgan wrote: > > The output format won't change. Please check the 3-rd party software (on > > www.clamav.net) for parsing details. > > Sorry to hear that the output format is frozen in time.
There are too many existing packages which call ClamAV and expect to be able to understand the result which comes back. There's no reason you can't write a simple perl script (perhaps awk would do it?) to call ClamAV, rearrange the output as you want, and return the new format to your application. > Declude Virus is one product (http://www.declude.com) produced by > Computerized Horizons that interfaces with Imail (http://www.ipswitch.com), > a popular (non-exchange) email server for Windows. ClamAV is (mainly) used on Unix systems - mostly Linux & BSD, therefore integration with a Windows mail server seems a minority interest. > Declude Virus provides the interface hook into the SMTP server, handles > mime decoding etc., and then uses your choice of command line virus > scanner(s) to do the actual virus check. If a virus is detected, Declude > virus then provides the usual options for dealing with the email. ClamAV has been made to work under Windows using the Cygwin environment - nothing to stop you rewriting the output as described above (or even modifying the source to produce a different format given a command-line option to be "Declude-compatible"?). > If an option were added to clamscan (i.e. --declude) to change the output > format, could that change be incorporated into the source CVS? It sounds > like Scott at Declude knows exactly where to make the change and I could > probably hack up the rest of the necessary patches (it would be my first > open source code contribution). Sounds like an excellent idea (but I'm not on the development team). Since ClamAV is GPL, however, you're free to do any hacks you like; the only question is whether they get "officially" adopted or not. Regards, Antony -- You can spend the whole of your life trying to be popular, but at the end of the day the size of the crowd at your funeral will be largely dictated by the weather. - Frank Skinner Please reply to the list; please don't CC me. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
