On Mon, 8 Mar 2004, Brett Simpson wrote: > How did you impliment this? I like the idea of checking the file to see > if the extension matches what is returned by the file command. > > Brett >
see the unix file command ("man file", will give you the information) - it uses /usr/share/magic to retrive information about the files mime type. Then just implement a rule that uses this information. ___ Yours sincerely Lars ======================================================================== Lars Roland. Copenhagen University - Institute for Mathematical Sciences Url: www.math.ku.dk Email: [EMAIL PROTECTED] "Politics is for the moment, equations are forever" - Albert Einstein ------------------------------------------------------- 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