>>> [EMAIL PROTECTED] 3/4/2004 5:35:34 PM >>> > 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. Brett