ivs-milter  (http://freshmeat.net/projects/ivsmilter/)  has had this
feature since design date.


On Mon, Mar 08, 2004 at 11:03:55AM -0500, Brett Simpson wrote:
> >>> [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 
> 
> 

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to