[Mimedefang] MIMEDefang 2.3 Beta 5

Bill Randle billr at outlawnet.com
Fri Jan 18 11:25:40 EST 2002


David F. Skoll wrote:

> is at http://www.roaringpenguin.com/mimedefang/mimedefang-2.3-BETA-5.tar.gz
> 
> This release includes Nathan Schimke's fix for Solaris (and AIX, I
> believe) sometimes returning EBADF for mkdir(2).  It also does much
> more logging on errors, which should help track down the causes of
> problems.  All the supported anti-virus tools now have routines which
> interpret the exit codes and recommend an action to take (OK, Virus, Tempfail).
> 
> I'm hoping that this will be the last beta before 2.3 final, so please
> test it.  It's installed on lists.roaringpenguin.com.
> 
> Regards,
> 
> David.

I like the new action_quarantine_entire_message() action, but would
still like to have any added headers appear as part of the quarantined
message headers. This is really useful for adding SpamAssassin hits
and hit names. Otherwise, when a message is quaratined because it looks
like spam, you have to run that message thru SpamAssassin manually
to get the hit count.

One way to achieve this is per the patch below; there may other, better
ways, as well.

	-Bill

--- mimedefang-2.3-BETA-5/mimedefang.pl.in.orig	Thu Jan 17 10:39:30 2002
+++ mimedefang-2.3-BETA-5/mimedefang.pl.in	Fri Jan 18 08:13:36 2002
@@ -587,6 +587,15 @@
  	    }
  	    close(IN);
  	}
+ 
if (open(IN, "<NEWHEADERS")) {
+ 
     while(<IN>) {
+ 
	chomp;
+ 
	my $headerName = $_;
+ 
	my $headerStr = <IN>;
+ 
	print OUT "$headerName: $headerStr";
+ 
     }
+ 
     close(IN);
+ 
}
  	close(OUT);
      }





More information about the MIMEDefang mailing list