[Mimedefang] How can I block based on file name - not extension

WBrown at e1b.org WBrown at e1b.org
Thu Jun 24 12:03:08 EDT 2004


mimedefang-bounces at lists.roaringpenguin.com wrote on 06/24/2004 08:52:28 
AM:

> This works great.  I do not want to add zip to the banned lists, as 
> zipped files are often sent with a legitimate purpose, however, I do
> want to ban certain zip files as they are usually associated with 
> viruses.  For exapmle, I want to bounce any emails with the 
> attachment - information.zip.  I would also like to return a 
> different bounce meassage for this file.  The bounce messgae for bad
> extensions is here:

Why not use ClamAV to block the virus?  Blocking on filenames is probably 
as bad as blocking email based on subject.  Sooner or later, someone will 
use that subject/filename.  Our director had a customer do that to him. 
Probably useful back in the days of Lovebug, but not with the newer 
viruses. 



More information about the MIMEDefang mailing list