[Mimedefang] Bagle-Q gets through!

Mickey Hill mickey at rudolphtire.com
Fri Mar 19 09:35:00 EST 2004


On Fri, 2004-03-19 at 06:26, Andrzej Marecki wrote:
> 1. This is MD that should possibly stop Bagle-Q!

Here's the fix (I *really* like this):

--- suggested-minimum-filter-for-windows-clients.orig   2004-03-19
08:28:01.764139223 -0600 +++
suggested-minimum-filter-for-windows-clients        2004-03-19
08:28:52.217334684 -0600
@@ -186,6 +186,12 @@
  
     return if message_rejected(); # Avoid unnecessary work
  
+    # Block text/html parts
+    if (lc($type) eq "text/html") {
+        md_graphdefang_log('text/html');
+        return action_drop_with_warning("An HTML part was removed from
this document.\n");
+    }
+
     # Block message/partial parts
     if (lc($type) eq "message/partial") {
         md_graphdefang_log('message/partial');

-- 
Mickey Hill
Rudolph's Inc
2021 Rob Mason Rd
PO Box 69
Murray KY 42071 USA
Phone (270) 753-0686 x124
      (800) 231-2295
Fax   (270) 753-4230
mickey at rudolphtire.com
www.rudolphtire.com




More information about the MIMEDefang mailing list