On Monday 08 March 2004 1:44 pm, Brett Simpson wrote:

> Jesper Juhl wrote:
> >Nope, that won't work. Besides blocking purely based on name we also run
> >'file' on the attachments and block based on the type of file returned by
> >'file'. So, a windows executable renamed from foo.exe to foo.txt will
> >still be caught as a banned 'exe' file - blocking only based on the name
> >would be way too primitive.
>
> 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.

MailScanner provides this neat feature.

Antony.

-- 
"The joy of X!!??  I've always hated compiling graphical shite.  You have a 10 
line program, and it ends up depending on the entire known universe."

 - Philip Hands

                                                     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

Reply via email to