[Mimedefang] F-Prot 4.6.6 daemon breaks MIMEDefang

Jonathan Hankins jhankins at homewood.k12.al.us
Mon Apr 3 09:41:45 EDT 2006


This may apply to older F-Prot versions, but I found it when I upgraded from
4.5.4 to 4.6.6.  The "Server:" string returned by the daemon process used to
be "fprotd" but now it looks like "fprotd/4.6.6" which breaks mimedefang.pl.
I have attached a diff against MIMEDefang 2.56.

Thanks,

-Jonathan Hankins

-------------- next part --------------
--- mimedefang.pl.in.orig	2006-04-03 08:33:23.936646326 -0500
+++ mimedefang.pl.in	2006-04-03 08:33:25.505340093 -0500
@@ -3235,7 +3235,7 @@
 		my $h = $1;
 		next SEARCH_DEMON unless $h =~ m!/1\.0\s+200\s!;
 	    } elsif($output =~ /^Server:\s*(\S*)/) {
-		next SEARCH_DEMON if $1 ne 'fprotd';
+		next SEARCH_DEMON if $1 !~ /^fprotd/;
 	    }
 	}
 
-------------- next part --------------

-- 
--------------------------------------------------------------------------
Jonathan Hankins	Homewood City Schools

jhankins at homewood.k12.al.us
--------------------------------------------------------------------------


More information about the MIMEDefang mailing list