[Mimedefang] Getting MIMEDefang to ignore .zip files andcontents
    Paul Rawlings 
    PRawlings at aminocom.com
       
    Wed Jul 19 11:04:58 EDT 2006
    
    
  
Thank you all for the responses - it was something nice and simple.
I can imagine many of you frowning upon turning off this feature and it
was a tough call to make.
All of our Windows boxes do run SAV and are attached to a local SAV
server so they are running the latest definitions.
Laptop users who have been away from our network are definition updated
before they can get into e-mail etc.
Thanks again.
Paul
-----Original Message-----
From: mimedefang-bounces at lists.roaringpenguin.com
[mailto:mimedefang-bounces at lists.roaringpenguin.com] On Behalf Of Kayne
Kruse
Sent: 19 July 2006 15:31
To: mimedefang at lists.roaringpenguin.com
Subject: Re: [Mimedefang] Getting MIMEDefang to ignore .zip files
andcontents
On Wed, 2006-07-19 at 14:35 +0100, Paul Rawlings wrote:
> 
> Can anybody point me in the right direction to possibly configure the
> MIMEDefang system so that if it sees a .zip attachment it totally
> ignores it and allows it through no matter what it can see inside the
> .zip?
> Maybe even to see a .zip and not even attempt to look inside it and
let
> it past?
I think this is a bad bad idea.  You never know what could be sent
inside zip files.  
The code your probably looking for to comment out:
    # Look inside ZIP files
    if (re_match($entity, '\.zip$') and
        $Features{"Archive::Zip"}) {
        my $bh = $entity->bodyhandle();
        if (defined($bh)) {
            my $path = $bh->path();
            if (defined($path)) {
                return re_match_in_zip_directory($path,
$re);                               }
        }
    }   
This ONLY reflects whats in the standard filter supplied with the
software.  If your admin changed it, it could be signifigantly
different.
Hope you have some mandatory way of scanning these when your users
recieve them on their desktops.
KK
    
    
More information about the MIMEDefang
mailing list