[Mimedefang] MIMEDefang 2.57-BETA-1 is available

Oliver Schulze L. oliver at samera.com.py
Fri May 5 08:08:45 EDT 2006


Hi David,
many thanks for the new release.

I attach a little patch for the example filter, it adds the 
filter_begin's new argument,
I hope its ok.

HTH
Oliver

-- 
Oliver Schulze L.
<oliver at samera.com.py>

-------------- next part --------------
--- suggested-minimum-filter-for-windows-clients.ori	2006-03-31 14:04:51.000000000 -0400
+++ suggested-minimum-filter-for-windows-clients	2006-05-05 08:03:28.000000000 -0400
@@ -105,13 +105,14 @@
 #***********************************************************************
 # %PROCEDURE: filter_begin
 # %ARGUMENTS:
-#  None
+#  entity -- a Mime::Entity object (see MIME-tools documentation for details)
 # %RETURNS:
 #  Nothing
 # %DESCRIPTION:
 #  Called just before e-mail parts are processed
 #***********************************************************************
 sub filter_begin {
+    my($entity) = @_;
     # ALWAYS drop messages with suspicious chars in headers
     if ($SuspiciousCharsInHeaders) {
         md_graphdefang_log('suspicious_chars');


More information about the MIMEDefang mailing list